aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/brk.22
-rw-r--r--man2/clock_nanosleep.21
-rw-r--r--man2/fchmodat.22
-rw-r--r--man2/getcpu.22
-rw-r--r--man2/mbind.22
-rw-r--r--man2/mount.22
-rw-r--r--man2/move_pages.22
-rw-r--r--man2/prctl.25
-rw-r--r--man3/asin.32
-rw-r--r--man3/copysign.32
-rw-r--r--man3/erf.32
-rw-r--r--man3/fenv.32
-rw-r--r--man3/getcwd.32
-rw-r--r--man3/inet.32
-rw-r--r--man3/log.32
-rw-r--r--man3/printf.34
-rw-r--r--man3/rtime.32
-rw-r--r--man3/scalb.32
-rw-r--r--man3/scanf.31
-rw-r--r--man3/tgamma.34
-rw-r--r--man3/y0.32
-rw-r--r--man4/console_codes.42
-rw-r--r--man5/acct.52
-rw-r--r--man5/proc.56
-rw-r--r--man5/termcap.52
-rw-r--r--man5/utmp.52
-rwxr-xr-xman7/cpuset.74
-rw-r--r--man7/credentials.72
-rw-r--r--man7/standards.72
-rw-r--r--man7/udplite.72
-rw-r--r--man7/unicode.72
31 files changed, 38 insertions, 35 deletions
diff --git a/man2/brk.2 b/man2/brk.2
index 80089bd163..5c024c31d9 100644
--- a/man2/brk.2
+++ b/man2/brk.2
@@ -138,7 +138,7 @@ the actual Linux system call returns the new program break on success.
On failure, the system call returns the current break.
The glibc wrapper function does some work
(i.e., checks whether the new break is less than
-.I addr )
+.IR addr )
to provide the 0 and \-1 return values described above.
On Linux,
diff --git a/man2/clock_nanosleep.2 b/man2/clock_nanosleep.2
index 891ec4a079..4c7c28a433 100644
--- a/man2/clock_nanosleep.2
+++ b/man2/clock_nanosleep.2
@@ -146,6 +146,7 @@ returns 0.
If the call is interrupted by a signal handler or encounters an error,
then it returns a positive error number.
.SH ERRORS
+.TP
.B EFAULT
.I request
or
diff --git a/man2/fchmodat.2 b/man2/fchmodat.2
index bd62059399..ee01e46fea 100644
--- a/man2/fchmodat.2
+++ b/man2/fchmodat.2
@@ -127,5 +127,5 @@ for an explanation of the need for
.SH "SEE ALSO"
.BR chmod (2),
.BR openat (2),
-.BR path_resolution (7)
+.BR path_resolution (7),
.BR symlink (7)
diff --git a/man2/getcpu.2 b/man2/getcpu.2
index 9bd3732ccb..03e724ad94 100644
--- a/man2/getcpu.2
+++ b/man2/getcpu.2
@@ -121,5 +121,5 @@ migrating threads between CPUs, and so the argument is now ignored.
.BR mbind (2),
.BR sched_setaffinity (2),
.BR set_mempolicy (2),
-.BR sched_getcpu (3)
+.BR sched_getcpu (3),
.BR cpuset (7)
diff --git a/man2/mbind.2 b/man2/mbind.2
index efae0f4f03..d9b7290fef 100644
--- a/man2/mbind.2
+++ b/man2/mbind.2
@@ -392,7 +392,7 @@ that was mapped with the
flag.
The
-.BR MPOL_DEFAULT ,
+.B MPOL_DEFAULT
mode can have different effects for
.BR mbind ()
and
diff --git a/man2/mount.2 b/man2/mount.2
index ae337c3c4b..bff1d1f1b7 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -123,7 +123,7 @@ Up until Linux 2.6.26,
.I mountflags
was also ignored
.\" with the exception of the "hidden" MS_REC mountflags bit
-(the bind mound has the same mount options as
+(the bind mount has the same mount options as
the underlying mount point).
Since Linux 2.6.26, the
.B MS_RDONLY
diff --git a/man2/move_pages.2 b/man2/move_pages.2
index b735923b0c..63a08baa56 100644
--- a/man2/move_pages.2
+++ b/man2/move_pages.2
@@ -150,7 +150,7 @@ to indicate the error.
.B E2BIG
Too many pages to move.
.TP
-.B EACCESS
+.B EACCES
.\" FIXME Clarify "current cpuset". Is that the cpuset of the caller
.\" or the target?
One of the target nodes is not allowed by the current cpuset.
diff --git a/man2/prctl.2 b/man2/prctl.2
index 1337183f90..26d5e7e297 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -225,7 +225,7 @@ After the secure computing mode has been set to 1,
the only system calls that the thread is permitted to make are
.BR read (2),
.BR write (2),
-.BR _exit(2),
+.BR _exit (2),
and
.BR sigreturn (2).
Other system calls result in the delivery of a
@@ -343,7 +343,8 @@ is an invalid address.
.B EINVAL
The value of
.I option
-is not recognized
+is not recognized.
+.TP
.B EINVAL
.I arg2
is not valid value for this
diff --git a/man3/asin.3 b/man3/asin.3
index a83d25515e..ea2ad4d746 100644
--- a/man3/asin.3
+++ b/man3/asin.3
@@ -78,7 +78,7 @@ is +0 (\-0),
If
.I x
-outside the range [\-1,\ 1],
+is outside the range [\-1,\ 1],
a domain error occurs,
and a NaN is returned.
.\"
diff --git a/man3/copysign.3 b/man3/copysign.3
index d4bf803172..7da545cb59 100644
--- a/man3/copysign.3
+++ b/man3/copysign.3
@@ -62,7 +62,7 @@ that of \fIx\fP, but whose sign bit matches that of \fIy\fP.
.SH RETURN VALUE
On success, these functions return a value whose magnitude is taken from
.I x
-abd whose sign is taken from
+and whose sign is taken from
.IR y .
If \fIx\fP is a NaN,
diff --git a/man3/erf.3 b/man3/erf.3
index eb0c58e7d8..e05eaf8953 100644
--- a/man3/erf.3
+++ b/man3/erf.3
@@ -69,7 +69,7 @@ as
.SH RETURN VALUE
On success, these functions return the error function of
.IR x ,
-a value in the range [\-1,1].
+a value in the range [\-1,\ 1].
If
.I x
diff --git a/man3/fenv.3 b/man3/fenv.3
index 391e29e9c7..2c4e0fc8af 100644
--- a/man3/fenv.3
+++ b/man3/fenv.3
@@ -148,7 +148,7 @@ set in the argument
.I excepts
and for which the corresponding exception is currently set.
.SS Rounding mode
-The rounding mode determines how the result of floating-point operation
+The rounding mode determines how the result of floating-point operations
is treated when the result cannot be exactly represented in the signifcand.
Various rounding modes may be provided:
round to nearest (the default),
diff --git a/man3/getcwd.3 b/man3/getcwd.3
index 79d8eaa91c..6d1cbcf05a 100644
--- a/man3/getcwd.3
+++ b/man3/getcwd.3
@@ -181,7 +181,7 @@ The current working directory has been unlinked.
.B ERANGE
The
.I size
-argument is less than the length of the the absolute pathname of the
+argument is less than the length of the absolute pathname of the
working directory, including the terminating null byte.
You need to allocate a bigger array and try again.
.SH "CONFORMING TO"
diff --git a/man3/inet.3 b/man3/inet.3
index d0d2ce0b8c..550854dc4b 100644
--- a/man3/inet.3
+++ b/man3/inet.3
@@ -214,7 +214,7 @@ and
.BR inet_ntoa ()
are specified in POSIX.1-2001.
.BR inet_aton ()
-is not specified in POSIX.1.-2001, but is available on most systems.
+is not specified in POSIX.1-2001, but is available on most systems.
.SH NOTES
On the i386 the host byte order is Least Significant Byte
first (little endian), whereas the network byte order, as used on the
diff --git a/man3/log.3 b/man3/log.3
index 60889807d8..d0426c20c3 100644
--- a/man3/log.3
+++ b/man3/log.3
@@ -128,7 +128,7 @@ In glibc 2.5 and earlier,
taking the
.BR log ()
of a NaN produces a bogus invalid floating-point
-.RB ( FE_INVALID)
+.RB ( FE_INVALID )
exception.
.SH "SEE ALSO"
.BR cbrt (3),
diff --git a/man3/printf.3 b/man3/printf.3
index d765cd3d6f..b2ed86a458 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -835,7 +835,7 @@ no thousands' separator, no NaN or infinity, no "%m$" and "*m$".
Linux libc5 knows about the five C standard flags and the \(aq flag,
locale, "%m$" and "*m$".
It knows about the length modifiers \fBh\fP, \fBl\fP, \fBL\fP,
-\fBZ\fP, iand \fBq\fP, but accepts \fBL\fP and \fBq\fP
+\fBZ\fP, and \fBq\fP, but accepts \fBL\fP and \fBq\fP
both for \fIlong double\fP and for \fIlong long int\fP (this is a bug).
It no longer recognizes \fBF\fP, \fBD\fP, \fBO\fP, and \fBU\fP,
but adds the conversion character
@@ -846,7 +846,7 @@ which outputs
glibc 2.0 adds conversion characters \fBC\fP and \fBS\fP.
.PP
glibc 2.1 adds length modifiers \fBhh\fP, \fBj\fP, \fBt\fP, and \fBz\fP
-and conversion characters \fBa\fP and\fBA\fP.
+and conversion characters \fBa\fP and \fBA\fP.
.PP
glibc 2.2 adds the conversion character \fBF\fP with C99 semantics,
and the flag character \fBI\fP.
diff --git a/man3/rtime.3 b/man3/rtime.3
index 5c77fdfbbd..e97f91d5a9 100644
--- a/man3/rtime.3
+++ b/man3/rtime.3
@@ -23,7 +23,7 @@ The Time Server Protocol gives the time in seconds since
00:00:00 UTC, 1 Jan 1900,
and this function subtracts the appropriate constant in order to
convert the result to seconds since
-00:00:00, UTC, 1 Jan 1970, the Unix Epoch.
+00:00:00 UTC, 1 Jan 1970, the Unix Epoch.
.LP
When
.I timeout
diff --git a/man3/scalb.3 b/man3/scalb.3
index 504f8a79e1..30b43a6829 100644
--- a/man3/scalb.3
+++ b/man3/scalb.3
@@ -132,7 +132,7 @@ when calling these functions.
The following errors can occur:
.TP
Domain error: \fIx\fP is 0, and \fIexp\fP is positive infinity, \
-or \fIx\fP is positive infinity and \fIexp\fP is negative infinity
+or \fIx\fP is positive infinity and \fIexp\fP is negative infinity \
and the other argument is not a NaN
.\" .I errno
.\" is set to
diff --git a/man3/scanf.3 b/man3/scanf.3
index 7861ae34c2..9ede0cab42 100644
--- a/man3/scanf.3
+++ b/man3/scanf.3
@@ -536,6 +536,7 @@ is set, and
.I errno
is set indicate the error.
.SH ERRORS
+.TP
.B EAGAIN
The file descriptor underlying
.I stream
diff --git a/man3/tgamma.3 b/man3/tgamma.3
index 113950ab86..09c96d7ba1 100644
--- a/man3/tgamma.3
+++ b/man3/tgamma.3
@@ -98,7 +98,7 @@ when calling these functions.
.PP
The following errors can occur:
.TP
-Domain error: \fIx\fP a negative integer, or negative infinity
+Domain error: \fIx\fP is a negative integer, or negative infinity
.\" FIXME . errno is not set to EDOM for x == -inf
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
.I errno
@@ -125,7 +125,7 @@ An overflow floating-point exception
is raised.
.PP
glibc also gives the following error which is not specified
-C99 or POSIX.1-2001.
+in C99 or POSIX.1-2001.
.TP
Range error: result underflow
.\" e.g., tgamma(-172.5) on glibc 2.8/x86-32
diff --git a/man3/y0.3 b/man3/y0.3
index 79c54c8d9b..e4af442c69 100644
--- a/man3/y0.3
+++ b/man3/y0.3
@@ -230,6 +230,6 @@ In glibc version 2.3.2 and earlier,
.\" to confirm if this error occurs only in 2.3.2.
these functions do not raise an invalid floating-point exception
.RB ( FE_INVALID )
-exception when a domain error occurs.
+when a domain error occurs.
.SH SEE ALSO
.BR j0 (3)
diff --git a/man4/console_codes.4 b/man4/console_codes.4
index 05031dce46..f37b9317e3 100644
--- a/man4/console_codes.4
+++ b/man4/console_codes.4
@@ -408,7 +408,7 @@ s is found in the character ROM, and can be changed using
.BR setfont (8).
.SS "Mouse Tracking"
The mouse tracking facility is intended to return
-.BR (1)xterm (1)-compatible
+.BR xterm (1)-compatible
mouse status reports.
Because the console driver has no way to know
the device or type of the mouse, these reports are returned in the
diff --git a/man5/acct.5 b/man5/acct.5
index 5e114feab3..b104ff3578 100644
--- a/man5/acct.5
+++ b/man5/acct.5
@@ -27,7 +27,7 @@ acct \- process accounting file
.B #include <sys/acct.h>
.SH DESCRIPTION
If the kernel is built with the process accounting option enabled
-.B ( CONFIG_BSD_PROCESS_ACCT ),
+.RB ( CONFIG_BSD_PROCESS_ACCT ),
then calling
.BR acct (2)
starts process accounting, for example:
diff --git a/man5/proc.5 b/man5/proc.5
index ab2691115a..fc76045570 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -1960,7 +1960,7 @@ contains the number of file systems currently mounted.
.TP
.I /proc/sys/kernel
This directory contains files controlling a range of kernel parameters,
-a described below.
+as described below.
.TP
.I /proc/sys/kernel/acct
This file
@@ -2139,7 +2139,7 @@ If the
.I /proc/sys/kernel/panic
file is also non-zero then the machine will be rebooted.
.TP
-.I /proc/sys/kernel/pid_max "( since Linux 2.5.34)"
+.IR /proc/sys/kernel/pid_max "( since Linux 2.5.34)"
This file specifies the value at which PIDs wrap around
(i.e., the value in this file is one greater than the maximum PID).
The default value for this file, 32768,
@@ -2166,7 +2166,7 @@ The four values in this file are
.IR console_loglevel ,
.IR default_message_loglevel ,
.IR minimum_console_level ,
- and
+and
.IR default_console_loglevel .
These values influence
.I printk()
diff --git a/man5/termcap.5 b/man5/termcap.5
index d97d0cc514..76566146f1 100644
--- a/man5/termcap.5
+++ b/man5/termcap.5
@@ -380,7 +380,7 @@ XF XOFF character if not \fB^S\fP
There are several ways of defining the control codes for string capabilities:
.LP
Every normal character represents itself,
-except \(aq^\(aq,\(aq\e\(aq and \(aq%\(aq.
+except \(aq^\(aq, \(aq\e\(aq, and \(aq%\(aq.
.LP
A \fB^x\fP means Control-x.
Control-A equals 1 decimal.
diff --git a/man5/utmp.5 b/man5/utmp.5
index 1f70253a48..41cb83854b 100644
--- a/man5/utmp.5
+++ b/man5/utmp.5
@@ -178,7 +178,7 @@ clears \fIut_user\fP, \fIut_host\fP and \fIut_time\fP with null bytes.
and other terminal emulators directly create a
\fBUSER_PROCESS\fP record and generate the \fIut_id\fP by using the
string that suffix part of the terminal name (the characters
-following \fI/dev/[pt]ty\fP.
+following \fI/dev/[pt]ty\fP).
If they find a \fBDEAD_PROCESS\fP for this ID,
they recycle it, otherwise they create a new entry.
If they can, they
diff --git a/man7/cpuset.7 b/man7/cpuset.7
index b723335f94..9c3f7824de 100755
--- a/man7/cpuset.7
+++ b/man7/cpuset.7
@@ -1134,7 +1134,7 @@ or
.I mem_exclusive
on a cpuset whose parent lacks the same setting.
.TP
-.B EACCESS
+.B EACCES
Attempted to
.BR write (2)
a
@@ -1356,7 +1356,7 @@ for writing, creation, or truncation, but then the
fails with
.I errno
set to
-.BR EACCESS ,
+.BR EACCES ,
and the creation and truncation options on
.BR open (2)
have no affect.
diff --git a/man7/credentials.7 b/man7/credentials.7
index 34a0e9ee3b..f121682b3a 100644
--- a/man7/credentials.7
+++ b/man7/credentials.7
@@ -244,7 +244,7 @@ The NPTL threading implementation does some work to ensure
that any change to user or group credentials
(e.g., calls to
.BR setuid (2),
-.BR setresuid(2),
+.BR setresuid (2),
etc.)
is carried through to all of the POSIX threads in a process.
.SH "SEE ALSO"
diff --git a/man7/standards.7 b/man7/standards.7
index 18512500dd..1d228db4d3 100644
--- a/man7/standards.7
+++ b/man7/standards.7
@@ -242,7 +242,7 @@ and various details of existing specifications are modified.
Many of the interfaces that were optional in
POSIX.1-2001 become mandatory in the next revision of the standard.
A few interfaces that are present in POSIX.1-2001 are marked
-as obsolete in POSIX.1-2001, or removed from the standard altogether.
+as obsolete in POSIX.1-2008, or removed from the standard altogether.
The revised standard is broken into the same four parts as POSIX.1-2001,
and again there are two levels of conformance: the baseline
diff --git a/man7/udplite.7 b/man7/udplite.7
index 136d7eed18..09b8d09896 100644
--- a/man7/udplite.7
+++ b/man7/udplite.7
@@ -94,7 +94,7 @@ If in doubt, the current coverage value can always be queried using
.BR getsockopt (2).
.TP
.BR UDPLITE_RECV_CSCOV
-This is the receiver-side analogue and uses uses the same argument format
+This is the receiver-side analogue and uses the same argument format
and value range as
.BR UDPLITE_SEND_CSCOV .
This option is not required to enable traffic with partial checksum
diff --git a/man7/unicode.7 b/man7/unicode.7
index 73984560e5..15127f6bc6 100644
--- a/man7/unicode.7
+++ b/man7/unicode.7
@@ -257,7 +257,7 @@ Prentice Hall, Englewood Cliffs, 1995, ISBN 0-13-326224-3.
A good reference book about the C programming language.
The fourth
-edition covers the 1994 Amendment 1 to the ISO C 90 standard, which
+edition covers the 1994 Amendment 1 to the ISO C90 standard, which
adds a large number of new C library functions for handling wide and
multi-byte character encodings, but it does not yet cover ISO C99,
which improved wide and multi-byte character support even further.