From 4d52e8f81c1052ac5e09f979c7ef6ddee1947cb9 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 19 Oct 2005 14:54:31 +0000 Subject: [PATCH] Formatting fixes --- man2/poll.2 | 2 +- man2/ptrace.2 | 2 +- man2/sigwaitinfo.2 | 2 +- man3/dlopen.3 | 2 +- man3/getgrouplist.3 | 2 +- man3/gets.3 | 4 ++-- man3/glob.3 | 2 +- man3/scandir.3 | 2 +- man3/strtod.3 | 2 +- man3/strtok.3 | 2 +- man3/unlocked_stdio.3 | 2 +- man4/epoll.4 | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/man2/poll.2 b/man2/poll.2 index 29b0122b7..c387bd5e2 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -147,7 +147,7 @@ The .BR poll () system call was introduced in Linux 2.1.23. The -.BR poll() +.BR poll () library call was introduced in libc 5.4.28 (and provides emulation using select if your kernel does not have a poll syscall). diff --git a/man2/ptrace.2 b/man2/ptrace.2 index c35463848..6355bbaed 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -75,7 +75,7 @@ PTRACE_TRACEME Indicates that this process is to be traced by its parent. Any signal (except SIGKILL) delivered to this process will cause it to stop and its parent to be notified via -.BR wait() . +.BR wait (). Also, all subsequent calls to .BR exec () by this process will cause a SIGTRAP to be sent to it, giving the parent a diff --git a/man2/sigwaitinfo.2 b/man2/sigwaitinfo.2 index a74dab33e..40cc13237 100644 --- a/man2/sigwaitinfo.2 +++ b/man2/sigwaitinfo.2 @@ -117,7 +117,7 @@ via a prior call to (so that the default disposition for these signals does not occur if they are delivered between successive calls to .BR sigwaitinfo () or -.BR sigtimedwait()) +.BR sigtimedwait ()) and does not establish handlers for these signals. .PP POSIX leaves the meaning of a diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 0eacd5653..26b1420ba 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -358,7 +358,7 @@ The symbols RTLD_DEFAULT and RTLD_NEXT are defined by only when _GNU_SOURCE was defined before including it. .\" .LP .\" The string returned by -.\" .BR dlerror() +.\" .BR dlerror () .\" should not be modified. Some systems give the prototype as .\" .sp .\" .in +5 diff --git a/man3/getgrouplist.3 b/man3/getgrouplist.3 index 6549c99a0..3ef91f686 100644 --- a/man3/getgrouplist.3 +++ b/man3/getgrouplist.3 @@ -26,7 +26,7 @@ the return value from the function is the number of group IDs actually stored. The group .I group is automatically included in the list of groups returned by -.BR getgroup\%list() . +.BR getgrouplist (). .SH "RETURN VALUE" If .RI * ngroups diff --git a/man3/gets.3 b/man3/gets.3 index 386d34d8c..d297b6ad7 100644 --- a/man3/gets.3 +++ b/man3/gets.3 @@ -119,9 +119,9 @@ or .B EOF on end of file or error. .PP -.BR gets() +.BR gets () and -.BR fgets() +.BR fgets () return .I s on success, and diff --git a/man3/glob.3 b/man3/glob.3 index 0e284968a..9dbfa9e21 100644 --- a/man3/glob.3 +++ b/man3/glob.3 @@ -160,7 +160,7 @@ as returned from one of the calls to .BR opendir (), .BR readdir (), or -.BR stat(). +.BR stat (). If .I errfunc returns non-zero, or if diff --git a/man3/scandir.3 b/man3/scandir.3 index ba7a379f1..b6d8ecb46 100644 --- a/man3/scandir.3 +++ b/man3/scandir.3 @@ -66,7 +66,7 @@ functions can be used as the comparison function The former sorts directory entries using .BR strcoll (3), the latter using -.BR strvers\%cmp (3) +.BR strverscmp (3) on the strings \fI(*a)\->d_name\fP and \fI(*b)\->d_name\fP. .SH "RETURN VALUE" The \fBscandir\fP() function returns the number of directory entries diff --git a/man3/strtod.3 b/man3/strtod.3 index e8553e668..f552326bf 100644 --- a/man3/strtod.3 +++ b/man3/strtod.3 @@ -71,7 +71,7 @@ and representation, respectively. The expected form of the (initial portion of the) string is -optional leading white space as recognized by \fIis\%space\fP(3), +optional leading white space as recognized by \fIisspace\fP(3), an optional plus (``+'') or minus sign (``\-'') and then either (i) a decimal number, or (ii) a hexadecimal number, or (iii) an infinity, or (iv) a NAN (not-a-number). diff --git a/man3/strtok.3 b/man3/strtok.3 index 9a45ad904..934e8ce8c 100644 --- a/man3/strtok.3 +++ b/man3/strtok.3 @@ -60,7 +60,7 @@ parameter, must be the same while parsing the same string. .\" .SH EXAMPLE .\" The following parses words out of a string, using 'white space' .\" separators, with -.\" .BR strtok_r() : +.\" .BR strtok_r () : .\" .PP .\" .nf .\" char buf[128]; diff --git a/man3/unlocked_stdio.3 b/man3/unlocked_stdio.3 index 46a26ed2e..831398472 100644 --- a/man3/unlocked_stdio.3 +++ b/man3/unlocked_stdio.3 @@ -76,7 +76,7 @@ See The four functions \fIgetc_unlocked\fP(), \fIgetchar_unlocked\fP(), \fIputc_unlocked\fP(), \fIputchar_unlocked\fP() are in POSIX.1. The nonstandard -.BR *_unlocked() +.BR *_unlocked () variants occur on a few Unix systems, and are available in recent glibc. .\" E.g., in HPUX 10.0. In HPUX 10.30 they are called obsolescent, and .\" moved to a compatibility library. diff --git a/man4/epoll.4 b/man4/epoll.4 index 3920d0b23..a5a42762e 100644 --- a/man4/epoll.4 +++ b/man4/epoll.4 @@ -347,7 +347,7 @@ a previous event's processing). Suppose you receive 100 events from .BR epoll_wait (2), and in event #47 a condition causes event #13 to be closed. If you remove the structure and -.BR close() +.BR close () the fd for event #13, then your event cache might still say there are events waiting for that fd causing confusion.