From 7145b9a93c28637fec8435687fd817e0ba7ed7da Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 3 Jun 2006 01:26:30 +0000 Subject: [PATCH] spfix --- man2/faccessat.2 | 2 +- man2/getpeername.2 | 2 +- man2/getsockname.2 | 2 +- man2/getsockopt.2 | 2 +- man2/gettimeofday.2 | 2 +- man2/killpg.2 | 2 +- man2/mbind.2 | 2 +- man2/msgop.2 | 2 +- man2/poll.2 | 2 +- man2/read.2 | 2 +- man2/send.2 | 2 +- man2/statfs.2 | 2 +- man3/lgamma.3 | 2 +- man3/popen.3 | 4 ++-- man3/sem_open.3 | 2 +- man3/sigpause.3 | 2 +- man3/strchr.3 | 2 +- man3/strtod.3 | 2 +- man3/tgamma.3 | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) diff --git a/man2/faccessat.2 b/man2/faccessat.2 index 980250d5d..55deb7832 100644 --- a/man2/faccessat.2 +++ b/man2/faccessat.2 @@ -72,7 +72,7 @@ is ignored. .I flags is constructed by ORing together zero or more of the following values: .TP -.B AT_EACESS +.B AT_EACCESS Perform access checks using the effective user and group IDs. By default, .BR faccessat () diff --git a/man2/getpeername.2 b/man2/getpeername.2 index b52db23e1..9158d7b30 100644 --- a/man2/getpeername.2 +++ b/man2/getpeername.2 @@ -45,7 +45,7 @@ getpeername \- get name of connected peer socket .sp .BI "int getpeername(int " s ", struct sockaddr *" name ", socklen_t *" namelen ); .SH DESCRIPTION -.B Getpeername +.BR getpeername () returns the name of the peer connected to socket .IR s . The diff --git a/man2/getsockname.2 b/man2/getsockname.2 index d7c87fe81..c0a4b575f 100644 --- a/man2/getsockname.2 +++ b/man2/getsockname.2 @@ -45,7 +45,7 @@ getsockname \- get socket name .BI "int getsockname(int " s ", struct sockaddr *" name ", socklen_t *" namelen ); .fi .SH DESCRIPTION -.B Getsockname +.BR getsockname () returns the current .I name for the specified socket. The diff --git a/man2/getsockopt.2 b/man2/getsockopt.2 index 84342a8e2..250b97f47 100644 --- a/man2/getsockopt.2 +++ b/man2/getsockopt.2 @@ -53,7 +53,7 @@ getsockopt, setsockopt \- get and set options on sockets .BI "int setsockopt(int " s ", int " level ", int " optname , .BI "const void *" optval ", socklen_t " optlen ); .SH DESCRIPTION -.B Getsockopt +.BR getsockopt () and .BR setsockopt () manipulate the diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2 index 83a38a194..4eafac025 100644 --- a/man2/gettimeofday.2 +++ b/man2/gettimeofday.2 @@ -99,7 +99,7 @@ The use of the .I timezone structure is obsolete; the .I tz -argument should normally be specfied as NULL. +argument should normally be specified as NULL. The .I tz_dsttime field has never been used under Linux; it has not diff --git a/man2/killpg.2 b/man2/killpg.2 index b89debe4c..51169c600 100644 --- a/man2/killpg.2 +++ b/man2/killpg.2 @@ -45,7 +45,7 @@ killpg \- send signal to a process group .sp .BI "int killpg(int " pgrp ", int " sig ); .SH DESCRIPTION -.B Killpg +.BR killpg () sends the signal .I sig to the process group diff --git a/man2/mbind.2 b/man2/mbind.2 index cb5312ad7..9da03b699 100644 --- a/man2/mbind.2 +++ b/man2/mbind.2 @@ -236,7 +236,7 @@ and .B MPOL_MF_MOVE_ALL are only available on Linux 2.6.16 and later. -These system calls should not be used directy. +These system calls should not be used directly. Instead, the higher level interface provided by the .BR numa (3) functions in the diff --git a/man2/msgop.2 b/man2/msgop.2 index 8bfc7a115..8d017ceab 100644 --- a/man2/msgop.2 +++ b/man2/msgop.2 @@ -333,7 +333,7 @@ Sleeping on a full message queue condition, the process caught a signal. .B EINVAL Invalid .I msqid -value, or nonpositive +value, or non-positive .I mtype value, or invalid diff --git a/man2/poll.2 b/man2/poll.2 index 301031d59..3d0edfc58 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -29,7 +29,7 @@ .\" FIXME . 2.6.17 is likely to get POLLRDHUP (and its analogue .\" EPOLLRDHUP). .\" -.\" FIXME . 2.6.17-rc1 has a defintion for POLLREMOVE, but this +.\" FIXME . 2.6.17-rc1 has a definition for POLLREMOVE, but this .\" flag is not used in the code. Check later to see if it .\" does get a use. .\" diff --git a/man2/read.2 b/man2/read.2 index de11a07fd..624201d28 100644 --- a/man2/read.2 +++ b/man2/read.2 @@ -133,7 +133,7 @@ increase server load and decrease performance. Many filesystems and disks were considered to be fast enough that the implementation of .B O_NONBLOCK -was deemed unnecesary. So, O_NONBLOCK may not be available on files +was deemed unnecessary. So, O_NONBLOCK may not be available on files and/or disks. .SH "SEE ALSO" .BR close (2), diff --git a/man2/send.2 b/man2/send.2 index a89157a57..bcd2ccd8f 100644 --- a/man2/send.2 +++ b/man2/send.2 @@ -151,7 +151,7 @@ of zero or more of the following flags. .BR MSG_CONFIRM " (Linux 2.3+ only)" Tell the link layer that forward progress happened: you got a successful reply from the other side. If the link layer doesn't get this -it'll regularly reprobe the neighbour (e.g. via a unicast ARP). +it will regularly reprobe the neighbour (e.g. via a unicast ARP). Only valid on .B SOCK_DGRAM and diff --git a/man2/statfs.2 b/man2/statfs.2 index 09a708d4a..6ec02973a 100644 --- a/man2/statfs.2 +++ b/man2/statfs.2 @@ -237,7 +237,7 @@ Some OSes use (a variation on) the device number, or the device number combined with the filesystem type. Several OSes restrict giving out the .I f_fsid -field to the superuser only (and zero it for nonprivileged users), +field to the superuser only (and zero it for unprivileged users), because this field is used in the filehandle of the filesystem when NFS-exported, and giving it out is a security concern. .LP diff --git a/man3/lgamma.3 b/man3/lgamma.3 index 492070863..291c0efd6 100644 --- a/man3/lgamma.3 +++ b/man3/lgamma.3 @@ -41,7 +41,7 @@ is not thread-safe, the functions \fBlgamma_r\fP() etc. have been introduced; they return this sign via the parameter .IR signp . .PP -For nonpositive integer values of \fIx\fP, \fBlgamma\fP() returns HUGE_VAL, +For non-positive integer values of \fIx\fP, \fBlgamma\fP() returns HUGE_VAL, sets \fIerrno\fP to ERANGE and raises the zero divide exception. (Similarly, \fBlgammaf\fP() returns HUGE_VALF and \fBlgammal\fP() returns HUGE_VALL.) diff --git a/man3/popen.3 b/man3/popen.3 index 78b251059..031121d7c 100644 --- a/man3/popen.3 +++ b/man3/popen.3 @@ -104,9 +104,9 @@ function returns \-1 if .\" These conditions actually give undefined results, so I commented .\" them out. .\" .I stream -.\" is not associated with a ``popened'' command, if +.\" is not associated with a ``popen()ed'' command, if .\".I stream -.\" already ``pclosed'', or if +.\" already ``pclose()d'', or if .BR wait4 () returns an error, or some other error is detected. .SH ERRORS diff --git a/man3/sem_open.3 b/man3/sem_open.3 index 357338df7..df4b79d93 100644 --- a/man3/sem_open.3 +++ b/man3/sem_open.3 @@ -94,7 +94,7 @@ are ignored. On success, .BR sem_open () returns a the address of the new semaphore; -this address is used when calling other seamphore-related functions. +this address is used when calling other semaphore-related functions. On error, .BR sem_open () returns diff --git a/man3/sigpause.3 b/man3/sigpause.3 index 7cf4634f3..0c3aec4e4 100644 --- a/man3/sigpause.3 +++ b/man3/sigpause.3 @@ -55,7 +55,7 @@ The classical BSD version of this function appeared in 4.2BSD. It sets the process's signal mask to .IR sigmask . Unix95 standardized the incompatible System V version of -this funtion, which removes only the specified signal +this function, which removes only the specified signal .I sig from the process' signal mask. .\" __xpg_sigpause: Unix 95, spec 1170, SVID, SVR4, XPG diff --git a/man3/strchr.3 b/man3/strchr.3 index 8048cd4c2..0f05753ba 100644 --- a/man3/strchr.3 +++ b/man3/strchr.3 @@ -42,7 +42,7 @@ strchr, strrchr, strchrnul \- locate character in string .B #define _GNU_SOURCE .B #include .sp -.BI "char *strrchr(const char *" s ", int " c ); +.BI "char *strchrnul(const char *" s ", int " c ); .fi .SH DESCRIPTION The \fBstrchr\fP() function returns a pointer to the first occurrence diff --git a/man3/strtod.3 b/man3/strtod.3 index d3d01b1ce..5532fe8ee 100644 --- a/man3/strtod.3 +++ b/man3/strtod.3 @@ -38,7 +38,7 @@ .\" Modified Sun Aug 21 17:16:22 1994 by Rik Faith (faith@cs.unc.edu) .\" Modified Sat May 04 19:34:31 MET DST 1996 by Michael Haardt .\" (michael@cantor.informatik.rwth-aachen.de) -.\" Added strof, strold, aeb, 2001-06-07 +.\" Added strof, strtold, aeb, 2001-06-07 .\" .TH STRTOD 3 2001-06-07 "Linux" "Library functions" .SH NAME diff --git a/man3/tgamma.3 b/man3/tgamma.3 index 395c7a72a..b0bcb0bd4 100644 --- a/man3/tgamma.3 +++ b/man3/tgamma.3 @@ -21,7 +21,7 @@ The Gamma function is defined by .sp Gamma(x) = integral from 0 to infinity of t^(x\-1) e^\-t dt .sp -It is defined for every real number except for nonpositive integers. +It is defined for every real number except for non-positive integers. For nonnegative integral \fIm\fP one has .sp Gamma(m+1) = m!