From c10859eb0d1689d97374268c226dbcacc5577048 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 31 May 2006 22:16:55 +0000 Subject: [PATCH] Fix unbalanced quotes --- man2/clone.2 | 17 ++++++++--------- man2/flock.2 | 2 +- man2/getrusage.2 | 2 +- man2/getxattr.2 | 12 ++++++------ man2/listxattr.2 | 11 +++++------ man2/query_module.2 | 6 +++--- man2/setxattr.2 | 12 ++++++------ man2/shmctl.2 | 2 +- man2/sigqueue.2 | 2 +- man2/wait.2 | 4 ++-- man3/dlopen.3 | 4 ++-- man3/dysize.3 | 4 ++-- man3/getmntent.3 | 2 +- man3/getspnam.3 | 2 +- man3/getutent.3 | 2 +- man3/isgreater.3 | 12 ++++++------ man3/makecontext.3 | 4 ++-- man3/stdio_ext.3 | 2 +- man3/strverscmp.3 | 2 +- man3/unlocked_stdio.3 | 2 +- man3/usleep.3 | 2 +- man4/initrd.4 | 12 ++++++------ man7/bootparam.7 | 2 +- man7/mailaddr.7 | 2 +- 24 files changed, 61 insertions(+), 63 deletions(-) diff --git a/man2/clone.2 b/man2/clone.2 index 6f4ddd58d..bff1d5b85 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -36,20 +36,19 @@ .SH NAME clone \- create a child process .SH SYNOPSIS +.nf .B #include -.sp -.BI "int clone(int (*" "fn" ")(void *), void *" "child_stack" ", int " "flags" ", void *" "arg" ); -.sp + +.BI "int clone(int (*" "fn" ")(void *), void *" child_stack \ +", int " flags ", void *" "arg" ); + .BI "_syscall2(int, " clone ", int, " flags ", void *, " child_stack ) -.sp + .BI "_syscall5(int, " clone ", int, " flags ", void *, " child_stack , -.br -.br .BI " int *, " parent_tidptr ", struct user_desc *, " newtls , -.br .BI " int *, " child_tidptr ) -.sp /* Using \fBsyscall\fP(2) may be preferable; see \fBintro\fP(2) */ +.fi .SH DESCRIPTION .BR clone () creates a new process, in a manner similar to @@ -220,7 +219,7 @@ or change file descriptor flags, performed by either the calling process or the child process do not affect the other process. .TP -.BR CLONE_NEWNS " (since Linux 2.4.19) +.BR CLONE_NEWNS " (since Linux 2.4.19)" Start the child in a new namespace. Every process lives in a namespace. The diff --git a/man2/flock.2 b/man2/flock.2 index b53d98498..28d6ee316 100644 --- a/man2/flock.2 +++ b/man2/flock.2 @@ -193,7 +193,7 @@ was specified. and occurs on many other implementations.) .\" Kernel 2.5.21 changed things a little: during lock conversion .\" it is now the highest priority process that will get the lock -- mtk -.SH SEE ALSO" +.SH "SEE ALSO" .BR close (2), .BR dup (2), .BR execve (2), diff --git a/man2/getrusage.2 b/man2/getrusage.2 index 80e172f1c..f8cb3b7a2 100644 --- a/man2/getrusage.2 +++ b/man2/getrusage.2 @@ -31,7 +31,7 @@ .\" Modified 2004-11-16, mtk, Noted that the non-conformance .\" when SIGCHLD is being ignored is fixed in 2.6.9. .\" -.TH GETRUSAGE 2 2004-11-16 "Linux 2.6.9 "Linux Programmer's Manual" +.TH GETRUSAGE 2 2004-11-16 "Linux 2.6.9" "Linux Programmer's Manual" .SH NAME getrusage \- get resource usage .SH SYNOPSIS diff --git a/man2/getxattr.2 b/man2/getxattr.2 index e8c300b88..8f2c0716a 100644 --- a/man2/getxattr.2 +++ b/man2/getxattr.2 @@ -33,12 +33,12 @@ getxattr, lgetxattr, fgetxattr \- retrieve an extended attribute value .B #include .B #include .sp -.BI "ssize_t getxattr (const char\ *" path ", const char\ *" name ", -.BI "\t\t\t\t void\ *" value ", size_t " size ); -.BI "ssize_t lgetxattr (const char\ *" path ", const char\ *" name ", -.BI "\t\t\t\t void\ *" value ", size_t " size ); -.BI "ssize_t fgetxattr (int " filedes ", const char\ *" name ", -.BI "\t\t\t\t void\ *" value ", size_t " size ); +.BI "ssize_t getxattr(const char\ *" path ", const char\ *" name , +.BI " void\ *" value ", size_t " size ); +.BI "ssize_t lgetxattr(const char\ *" path ", const char\ *" name , +.BI " void\ *" value ", size_t " size ); +.BI "ssize_t fgetxattr(int " filedes ", const char\ *" name , +.BI " void\ *" value ", size_t " size ); .fi .fam T .SH DESCRIPTION diff --git a/man2/listxattr.2 b/man2/listxattr.2 index e31beff1b..e2e9dfe62 100644 --- a/man2/listxattr.2 +++ b/man2/listxattr.2 @@ -33,12 +33,11 @@ listxattr, llistxattr, flistxattr \- list extended attribute names .B #include .B #include .sp -.BI "ssize_t listxattr (const char\ *" path ", -.BI "\t\t\t\t char\ *" list ", size_t " size ); -.BI "ssize_t llistxattr (const char\ *" path ", -.BI "\t\t\t\t char\ *" list ", size_t " size ); -.BI "ssize_t flistxattr (int " filedes ", -.BI "\t\t\t\t char\ *" list ", size_t " size ); +.BI "ssize_t listxattr(const char\ *" path ", char\ *" list \ +", size_t " size ); +.BI "ssize_t llistxattr(const char\ *" path ", char\ *" list \ +", size_t " size ); +.BI "ssize_t flistxattr(int " filedes ", char\ *" list ", size_t " size ); .fi .fam T .SH DESCRIPTION diff --git a/man2/query_module.2 b/man2/query_module.2 index e3fc73f6c..cc9f83235 100644 --- a/man2/query_module.2 +++ b/man2/query_module.2 @@ -7,13 +7,13 @@ .\" .TH QUERY_MODULE 2 "2002" "Linux" "Linux Module Support" .SH NAME -query_module \- query the kernel for various bits pertaining to modules. +query_module \- query the kernel for various bits pertaining to modules .SH SYNOPSIS .nf .B #include .sp -.BI "int query_module(const char *" name ", int " which ", -.BI "void *" buf ", size_t " bufsize ", size_t *" ret ); +.BI "int query_module(const char *" name ", int " which ", void *" buf , +.BI " size_t " bufsize ", size_t *" ret ); .fi .SH DESCRIPTION .BR query_module () diff --git a/man2/setxattr.2 b/man2/setxattr.2 index f68e91021..f633538fa 100644 --- a/man2/setxattr.2 +++ b/man2/setxattr.2 @@ -33,12 +33,12 @@ setxattr, lsetxattr, fsetxattr \- set an extended attribute value .B #include .B #include .sp -.BI "int setxattr (const char\ *" path ", const char\ *" name ", -.BI "\t\t\t const void\ *" value ", size_t " size ", int " flags ); -.BI "int lsetxattr (const char\ *" path ", const char\ *" name ", -.BI "\t\t\t const void\ *" value ", size_t " size ", int " flags ); -.BI "int fsetxattr (int " filedes ", const char\ *" name ", -.BI "\t\t\t const void\ *" value ", size_t " size ", int " flags ); +.BI "int setxattr(const char\ *" path ", const char\ *" name , +.BI " const void\ *" value ", size_t " size ", int " flags ); +.BI "int lsetxattr(const char\ *" path ", const char\ *" name , +.BI " const void\ *" value ", size_t " size ", int " flags ); +.BI "int fsetxattr(int " filedes ", const char\ *" name , +.BI " const void\ *" value ", size_t " size ", int " flags ); .fi .fam T .SH DESCRIPTION diff --git a/man2/shmctl.2 b/man2/shmctl.2 index 641854abc..dd9ff0863 100644 --- a/man2/shmctl.2 +++ b/man2/shmctl.2 @@ -40,7 +40,7 @@ .\" attaches to a segment that has already been marked for deletion. .\" 2005-08-02, mtk: Added IPC_INFO, SHM_INFO, SHM_STAT descriptions. .\" -.TH SHMCTL 2 2005-05-30 Linux 2.6.11" "Linux Programmer's Manual" +.TH SHMCTL 2 2005-05-30 "Linux 2.6.11" "Linux Programmer's Manual" .SH NAME shmctl \- shared memory control .SH SYNOPSIS diff --git a/man2/sigqueue.2 b/man2/sigqueue.2 index 9a1b2aeab..bf5d0b9a3 100644 --- a/man2/sigqueue.2 +++ b/man2/sigqueue.2 @@ -26,7 +26,7 @@ sigqueue \- queue a signal and data to a process .SH SYNOPSIS .B #include .sp -.BI "int sigqueue(pid_t " pid ", int " sig ", const union sigval " value "); +.BI "int sigqueue(pid_t " pid ", int " sig ", const union sigval " value ); .SH DESCRIPTION .BR sigqueue () sends the signal specified in diff --git a/man2/wait.2 b/man2/wait.2 index 9d7cdd83d..c47b45a62 100644 --- a/man2/wait.2 +++ b/man2/wait.2 @@ -58,8 +58,8 @@ wait, waitpid \- wait for process to change state .br .BI "pid_t waitpid(pid_t " pid ", int *" status ", int " options ); .br -.BI "int waitid(idtype_t " idtype ", id_t " id ", \ -siginfo_t *" infop ", int " options ); +.BI "int waitid(idtype_t " idtype ", id_t " id \ +", siginfo_t *" infop ", int " options ); .SH DESCRIPTION All of these system calls are used to wait for state changes in a child of the calling process, and obtain information diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 7e98ba388..be3e7bfcf 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -150,7 +150,7 @@ and the default if neither flag is specified. Symbols defined in this library are not made available to resolve references in subsequently loaded libraries. .TP -.BR RTLD_NODELETE " (since glibc 2.2) +.BR RTLD_NODELETE " (since glibc 2.2)" Do not unload the library during .BR dlclose (). Consequently, the library's static variables are not reinitialised @@ -160,7 +160,7 @@ at a later time. This flag is not specified in POSIX.1-2001. .\" (But it is present on Solaris.) .TP -.BR RTLD_NOLOAD " (since glibc 2.2) +.BR RTLD_NOLOAD " (since glibc 2.2)" Don't load the library. This can be used to test if the library is already resident .RB ( dlopen () diff --git a/man3/dysize.3 b/man3/dysize.3 index a10e52399..31dfc3b5e 100644 --- a/man3/dysize.3 +++ b/man3/dysize.3 @@ -26,9 +26,9 @@ dysize \- get number of days for a given year .SH SYNOPSIS .sp -.BR "#define _BSD_SOURCE" " /* or: #define _SVID_SOURCE */ +.BR "#define _BSD_SOURCE" " /* or: #define _SVID_SOURCE */" .br -.BR "#include +.BR "#include " .sp .BI "int dysize(int " year ); .sp diff --git a/man3/getmntent.3 b/man3/getmntent.3 index 90e2f3699..2fdb7b42a 100644 --- a/man3/getmntent.3 +++ b/man3/getmntent.3 @@ -47,7 +47,7 @@ getmntent_r \- get file system descriptor file entry .BI "char *hasmntopt(const struct mntent *" mnt ", const char *" opt ); .sp /* GNU extension */ -.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE */ +.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE */" .B #include .sp .BI "struct mntent *getmntent_r(FILE *" fp ", struct mntent *" mntbuf , diff --git a/man3/getspnam.3 b/man3/getspnam.3 index 3f386985b..d2f2f9b3e 100644 --- a/man3/getspnam.3 +++ b/man3/getspnam.3 @@ -34,7 +34,7 @@ lckpwdf, ulckpwdf \- get shadow password file entry .sp /* GNU extension */ .br -.BR "#define _SVID_SOURCE" " /* or _BSD_SOURCE */ +.BR "#define _SVID_SOURCE" " /* or _BSD_SOURCE */" .br .B #include .sp diff --git a/man3/getutent.3 b/man3/getutent.3 index 9c9e87eb1..ca727f0ac 100644 --- a/man3/getutent.3 +++ b/man3/getutent.3 @@ -88,7 +88,7 @@ overwritten by subsequent calls. These above functions are not thread-safe. Glibc adds reentrant versions .sp .nf -.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE */ +.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE */" .B #include .sp .BI "int getutent_r(struct utmp *" ubuf ", struct utmp **" ubufp ); diff --git a/man3/isgreater.3 b/man3/isgreater.3 index 3b2dc3b72..64d72e77b 100644 --- a/man3/isgreater.3 +++ b/man3/isgreater.3 @@ -11,17 +11,17 @@ to test a relation .nf .B #include .sp -.BI "int isgreater(x,y); +.BI "int isgreater(x,y);" .sp -.BI "int isgreaterequal(x,y); +.BI "int isgreaterequal(x,y);" .sp -.BI "int isless(x,y); +.BI "int isless(x,y);" .sp -.BI "int islessequal(x,y); +.BI "int islessequal(x,y);" .sp -.BI "int islessgreater(x,y); +.BI "int islessgreater(x,y);" .sp -.BI "int isunordered(x,y); +.BI "int isunordered(x,y);" .fi .sp Compile with \-std=c99; link with \-lm. diff --git a/man3/makecontext.3 b/man3/makecontext.3 index 60ef6cb03..6f109d102 100644 --- a/man3/makecontext.3 +++ b/man3/makecontext.3 @@ -26,10 +26,10 @@ makecontext, swapcontext \- manipulate user context .SH SYNOPSIS .B #include .sp -.BI "void makecontext(ucontext_t *" ucp ", void *" func "(), +.BI "void makecontext(ucontext_t *" ucp ", void *" func (), .BI "int " argc ", ...);" .br -.BI "int swapcontext (ucontext_t *" oucp ", ucontext_t *" ucp ); +.BI "int swapcontext(ucontext_t *" oucp ", ucontext_t *" ucp ); .SH DESCRIPTION In a System V-like environment, one has the type \fBucontext_t\fP defined in .I diff --git a/man3/stdio_ext.3 b/man3/stdio_ext.3 index ab6c87235..ef2024375 100644 --- a/man3/stdio_ext.3 +++ b/man3/stdio_ext.3 @@ -44,7 +44,7 @@ __fbufsize, __flbf, __fpending, __fpurge, __freadable, __freading, __fsetlocking .br .BI "int __fsetlocking(FILE *" stream ", int " type ); .br -.BI "void _flushlbf(void); +.BI "void _flushlbf(void);" .br .BI "void __fpurge(FILE *" stream ); .SH DESCRIPTION diff --git a/man3/strverscmp.3 b/man3/strverscmp.3 index fb45d53ab..22d91e6a7 100644 --- a/man3/strverscmp.3 +++ b/man3/strverscmp.3 @@ -37,7 +37,7 @@ Often one has files and it feels wrong when .B ls orders them -.IR jan1 ", " jan10 ", ..., " jan2 ", ..., " jan9 ". +.IR jan1 ", " jan10 ", ..., " jan2 ", ..., " jan9 . .\" classical solution: "rename jan jan0 jan?" In order to rectify this, GNU introduced the .B \-v diff --git a/man3/unlocked_stdio.3 b/man3/unlocked_stdio.3 index b6c821b6b..8cd7fa688 100644 --- a/man3/unlocked_stdio.3 +++ b/man3/unlocked_stdio.3 @@ -32,7 +32,7 @@ .BI "int putc_unlocked(int " c ", FILE *" stream ); .BI "int putchar_unlocked(int " c ); .sp -.BR "#define _BSD_SOURCE" " /* or _SVID_SOURCE or _GNU_SOURCE */ +.BR "#define _BSD_SOURCE" " /* or _SVID_SOURCE or _GNU_SOURCE */" .B #include .sp .BI "void clearerr_unlocked(FILE *" stream ); diff --git a/man3/usleep.3 b/man3/usleep.3 index d6fa173b6..f96ed790d 100644 --- a/man3/usleep.3 +++ b/man3/usleep.3 @@ -43,7 +43,7 @@ usleep \- suspend execution for microsecond intervals .br .B "#include " .sp -.BI "int usleep(useconds_t " usec "); +.BI "int usleep(useconds_t " usec ); .fi .SH DESCRIPTION The \fBusleep\fP() function suspends execution of the calling process for diff --git a/man4/initrd.4 b/man4/initrd.4 index efaf3e096..f13492e2f 100644 --- a/man4/initrd.4 +++ b/man4/initrd.4 @@ -34,9 +34,6 @@ .TH INITRD 4 1997-11-06 "Linux 2.0" "Linux Programmer's Manual" .SH NAME initrd \- boot loader initialized RAM disk -.\" -.\" -.\" .SH DESCRIPTION The special file .I /dev/initrd @@ -146,10 +143,13 @@ The following boot loader options when used with .BI initrd= "filename" Specifies the file to load as the contents of .IR /dev/initrd "." -.RB "For " LOADLIN +For +.B LOADLIN this is a command line option. -.RB "For " LILO " you have to use this command in the -.BR LILO +For +.B LILO +you have to use this command in the +.B LILO configuration file .IR /etc/lilo.config . The filename specified with this diff --git a/man7/bootparam.7 b/man7/bootparam.7 index 41180bcc9..021871d59 100644 --- a/man7/bootparam.7 +++ b/man7/bootparam.7 @@ -359,7 +359,7 @@ If N=1, do load a ramdisk. If N=0, do not load a ramdisk. If N=1, do prompt for insertion of the floppy. (This is the default.) If N=0, do not prompt. (Thus, this parameter is never needed.) -.SS "`ramdisk_size=N' or (obsolete) `ramdisk=N' +.SS "`ramdisk_size=N' or (obsolete) `ramdisk=N'" Set the maximal size of the ramdisk(s) to N kB. The default is 4096 (4 MB). .SS "`ramdisk_start=N'" diff --git a/man7/mailaddr.7 b/man7/mailaddr.7 index c07901478..ddc99b86a 100644 --- a/man7/mailaddr.7 +++ b/man7/mailaddr.7 @@ -23,7 +23,7 @@ .\" account for changes since 1995. Route-addrs are now even less .\" common, etc. Some minor wording improvements. Same copyright. .\" -.TH MAILADDR 7 2004-09-15 linux "Linux User's Manual" \" -*- nroff -*- +.TH MAILADDR 7 2004-09-15 Linux "Linux User's Manual" .UC 5 .SH NAME mailaddr \- mail addressing description