summaryrefslogtreecommitdiff
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-04-24 16:44:51 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-04-24 16:44:51 +0000
commit1c44bd5b0b2fa84571e5c2989ab2942fcaa573c4 (patch)
treeac3d07039ca9010aa17bee1cf8f4cf92074776d3 /man3
parentdc936104cda6b31e0b6e6c86194d4aad043e2da4 (diff)
Wrap long lines; start sentences on new lines
Diffstat (limited to 'man3')
-rw-r--r--man3/acos.33
-rw-r--r--man3/acosh.36
-rw-r--r--man3/asin.33
-rw-r--r--man3/atan2.33
-rw-r--r--man3/atanh.34
-rw-r--r--man3/closedir.33
-rw-r--r--man3/fmod.33
-rw-r--r--man3/fpathconf.33
-rw-r--r--man3/fpclassify.36
-rw-r--r--man3/gcvt.34
-rw-r--r--man3/getenv.34
-rw-r--r--man3/getpw.34
-rw-r--r--man3/getservent.38
-rw-r--r--man3/getw.39
-rw-r--r--man3/iswgraph.39
-rw-r--r--man3/login.33
-rw-r--r--man3/memchr.33
-rw-r--r--man3/memcmp.33
-rw-r--r--man3/memfrob.33
-rw-r--r--man3/memmove.33
-rw-r--r--man3/mkstemp.33
-rw-r--r--man3/mktemp.33
-rw-r--r--man3/nan.36
-rw-r--r--man3/nextafter.33
-rw-r--r--man3/psignal.33
-rw-r--r--man3/readdir.33
-rw-r--r--man3/remainder.33
-rw-r--r--man3/stpcpy.33
-rw-r--r--man3/strcmp.33
-rw-r--r--man3/strcoll.36
-rw-r--r--man3/strcpy.33
-rw-r--r--man3/strdup.33
-rw-r--r--man3/strnlen.33
-rw-r--r--man3/strstr.34
-rw-r--r--man3/system.33
-rw-r--r--man3/tcgetpgrp.33
-rw-r--r--man3/towctrans.314
-rw-r--r--man3/wcstok.315
-rw-r--r--man3/wcwidth.311
39 files changed, 110 insertions, 72 deletions
diff --git a/man3/acos.3 b/man3/acos.3
index e72a0bcec..d44e0f36a 100644
--- a/man3/acos.3
+++ b/man3/acos.3
@@ -43,7 +43,8 @@ acos, acosf, acosl \- arc cosine function
Link with \-lm.
.SH DESCRIPTION
The \fBacos\fP() function calculates the arc cosine of \fIx\fP; that is
-the value whose cosine is \fIx\fP. If \fIx\fP falls outside the range
+the value whose cosine is \fIx\fP.
+If \fIx\fP falls outside the range
\-1 to 1, \fBacos\fP() fails and \fIerrno\fP is set.
.SH "RETURN VALUE"
The \fBacos\fP() function returns the arc cosine in radians and the
diff --git a/man3/acosh.3 b/man3/acosh.3
index 972493854..8785aa32e 100644
--- a/man3/acosh.3
+++ b/man3/acosh.3
@@ -45,9 +45,9 @@ acosh, acoshf, acoshl \- inverse hyperbolic cosine function
Link with \-lm.
.SH DESCRIPTION
The \fBacosh\fP() function calculates the inverse hyperbolic cosine of
-\fIx\fP; that is the value whose hyperbolic cosine is \fIx\fP. If \fIx\fP
-is less than 1.0, \fBacosh\fP() returns not-a-number (NaN) and \fIerrno\fP
-is set.
+\fIx\fP; that is the value whose hyperbolic cosine is \fIx\fP.
+If \fIx\fP is less than 1.0, \fBacosh\fP() returns
+not-a-number (NaN) and \fIerrno\fP is set.
.SH ERRORS
.TP
.B EDOM
diff --git a/man3/asin.3 b/man3/asin.3
index 3d8c8a4cb..0fe40c54a 100644
--- a/man3/asin.3
+++ b/man3/asin.3
@@ -45,7 +45,8 @@ asin, asinf, asinl \- arc sine function
Link with \-lm.
.SH DESCRIPTION
The \fBasin\fP() function calculates the arc sine of \fIx\fP; that is
-the value whose sine is \fIx\fP. If \fIx\fP falls outside the range
+the value whose sine is \fIx\fP.
+If \fIx\fP falls outside the range
\-1 to 1, \fBasin\fP() fails and \fIerrno\fP is set.
.SH "RETURN VALUE"
The \fBasin\fP() function returns the arc sine in radians and the
diff --git a/man3/atan2.3 b/man3/atan2.3
index 68e9aa034..f52ab3a47 100644
--- a/man3/atan2.3
+++ b/man3/atan2.3
@@ -45,7 +45,8 @@ atan2, atan2f, atan2l \- arc tangent function of two variables
Link with \-lm.
.SH DESCRIPTION
The \fBatan2\fP() function calculates the arc tangent of the two
-variables \fIx\fP and \fIy\fP. It is similar to calculating the
+variables \fIx\fP and \fIy\fP.
+It is similar to calculating the
arc tangent of \fIy\fP / \fIx\fP, except that the signs of both
arguments are used to determine the quadrant of the result.
.SH "RETURN VALUE"
diff --git a/man3/atanh.3 b/man3/atanh.3
index 5fee932f6..a75a3e5df 100644
--- a/man3/atanh.3
+++ b/man3/atanh.3
@@ -45,8 +45,8 @@ atanh, atanhf, atanhl \- inverse hyperbolic tangent function
Link with \-lm.
.SH DESCRIPTION
The \fBatanh\fP() function calculates the inverse hyperbolic tangent of
-\fIx\fP; that is the value whose hyperbolic tangent is \fIx\fP. If the
-absolute value of \fIx\fP is greater than 1.0, \fBatanh\fP() returns
+\fIx\fP; that is the value whose hyperbolic tangent is \fIx\fP.
+If the absolute value of \fIx\fP is greater than 1.0, \fBatanh\fP() returns
not-a-number (NaN) and \fIerrno\fP is set.
.SH ERRORS
.TP
diff --git a/man3/closedir.3 b/man3/closedir.3
index 17e96ffd0..b773c8a35 100644
--- a/man3/closedir.3
+++ b/man3/closedir.3
@@ -39,7 +39,8 @@ closedir \- close a directory
.fi
.SH DESCRIPTION
The \fBclosedir\fP() function closes the directory stream associated with
-\fIdir\fP. The directory stream descriptor \fIdir\fP is not available
+\fIdir\fP.
+The directory stream descriptor \fIdir\fP is not available
after this call.
.SH "RETURN VALUE"
The \fBclosedir\fP() function returns 0 on success.
diff --git a/man3/fmod.3 b/man3/fmod.3
index 670b5aee1..84d1e5753 100644
--- a/man3/fmod.3
+++ b/man3/fmod.3
@@ -45,7 +45,8 @@ fmod, fmodf, fmodl \- floating-point remainder function
Link with \-lm.
.SH DESCRIPTION
The \fBfmod\fP() function computes the remainder of dividing \fIx\fP by
-\fIy\fP. The return value is \fIx\fP \- \fIn\fP * \fIy\fP, where \fIn\fP
+\fIy\fP.
+The return value is \fIx\fP \- \fIn\fP * \fIy\fP, where \fIn\fP
is the quotient of \fIx\fP / \fIy\fP, rounded towards zero to an integer.
.SH "RETURN VALUE"
The \fBfmod\fP() function returns the remainder, unless \fIy\fP is zero,
diff --git a/man3/fpathconf.3 b/man3/fpathconf.3
index 569929ca9..a70bf4654 100644
--- a/man3/fpathconf.3
+++ b/man3/fpathconf.3
@@ -110,7 +110,8 @@ returns the size of the pipe buffer, where
.I filedes
must refer to a pipe or FIFO and
.I path
-must refer to a FIFO. The corresponding macro is
+must refer to a FIFO.
+The corresponding macro is
.BR _POSIX_PIPE_BUF .
.TP
.B _PC_CHOWN_RESTRICTED
diff --git a/man3/fpclassify.3 b/man3/fpclassify.3
index 2a1e8221e..a1f87ccce 100644
--- a/man3/fpclassify.3
+++ b/man3/fpclassify.3
@@ -24,11 +24,13 @@ fpclassify, isfinite, isnormal, isnan \- floating-point classification macros
Compile with \-std=c99; link with \-lm.
.SH DESCRIPTION
Floating point numbers can have special values, such as
-infinite or NaN. With the macro
+infinite or NaN.
+With the macro
.BI fpclassify( x )
you can find out what type
.I x
-is. The macro takes any floating-point expression as argument.
+is.
+The macro takes any floating-point expression as argument.
The result is one of the following values:
.TP
FP_NAN
diff --git a/man3/gcvt.3 b/man3/gcvt.3
index 73430b42a..f8e9d8127 100644
--- a/man3/gcvt.3
+++ b/man3/gcvt.3
@@ -36,8 +36,8 @@ gcvt \- convert a floating-point number to a string
.fi
.SH DESCRIPTION
The \fBgcvt\fP() function converts \fInumber\fP to a minimal length NULL
-terminated ASCII string and stores the result in \fIbuf\fP. It produces
-\fIndigit\fP significant digits in either
+terminated ASCII string and stores the result in \fIbuf\fP.
+It produces \fIndigit\fP significant digits in either
.BR printf (3)
F format or E format.
.SH NOTES
diff --git a/man3/getenv.3 b/man3/getenv.3
index a1c6454b8..a43a03a03 100644
--- a/man3/getenv.3
+++ b/man3/getenv.3
@@ -38,8 +38,8 @@ getenv \- get an environment variable
.fi
.SH DESCRIPTION
The \fBgetenv\fP() function searches the environment list for a string
-that matches the string pointed to by \fIname\fP. The strings are of
-the form \fIname = value\fP.
+that matches the string pointed to by \fIname\fP.
+The strings are of the form \fIname = value\fP.
.SH "RETURN VALUE"
The \fBgetenv\fP() function returns a pointer to the value in the
environment, or NULL if there is no match.
diff --git a/man3/getpw.3 b/man3/getpw.3
index 77fc2f699..d3054ef12 100644
--- a/man3/getpw.3
+++ b/man3/getpw.3
@@ -39,8 +39,8 @@ getpw \- Re-construct password line entry
.fi
.SH DESCRIPTION
The \fBgetpw\fP() function re-constructs the password line entry for
-the given user ID \fIuid\fP in the buffer \fIbuf\fP. The returned
-buffer contains a line of format
+the given user ID \fIuid\fP in the buffer \fIbuf\fP.
+The returned buffer contains a line of format
.sp
.RS
.B name:passwd:uid:gid:gecos:dir:shell
diff --git a/man3/getservent.3 b/man3/getservent.3
index c7a79dd50..9a74d367c 100644
--- a/man3/getservent.3
+++ b/man3/getservent.3
@@ -56,13 +56,13 @@ is opened if necessary.
.PP
The \fBgetservbyname\fP() function returns a \fIservent\fP structure
for the line from \fI/etc/services\fP that matches the service
-\fIname\fP using protocol \fIproto\fP. If \fIproto\fP is NULL,
-any protocol will be matched.
+\fIname\fP using protocol \fIproto\fP.
+If \fIproto\fP is NULL, any protocol will be matched.
.PP
The \fBgetservbyport\fP() function returns a \fIservent\fP structure
for the line that matches the port \fIport\fP given in network byte order
-using protocol \fIproto\fP. If \fIproto\fP is NULL,
-any protocol will be matched.
+using protocol \fIproto\fP.
+If \fIproto\fP is NULL, any protocol will be matched.
.PP
The \fBsetservent\fP() function opens and rewinds the
\fI/etc/services\fP file.
diff --git a/man3/getw.3 b/man3/getw.3
index d3d9da74f..edbd4cbe9 100644
--- a/man3/getw.3
+++ b/man3/getw.3
@@ -31,11 +31,12 @@ getw, putw \- input and output of words (ints)
.br
.BI "int putw(int " w ", FILE *" stream );
.SH DESCRIPTION
-\fBgetw\fP() reads a word (that is, an \fIint\fP) from \fIstream\fP. It's
-provided for compatibility with SVr4. We recommend you use
-\fBfread\fP(3) instead.
+\fBgetw\fP() reads a word (that is, an \fIint\fP) from \fIstream\fP.
+It's provided for compatibility with SVr4.
+We recommend you use \fBfread\fP(3) instead.
.P
-\fBputw\fP() writes the word \fIw\fP (that is, an \fIint\fP) to \fIstream\fP.
+\fBputw\fP() writes the word \fIw\fP (that is,
+an \fIint\fP) to \fIstream\fP.
It is provided for compatibility with SVr4, but we recommend you use
\fBfwrite\fP(3) instead.
.SH "RETURN VALUE"
diff --git a/man3/iswgraph.3 b/man3/iswgraph.3
index b64f3fffd..7cf635402 100644
--- a/man3/iswgraph.3
+++ b/man3/iswgraph.3
@@ -29,7 +29,8 @@ belonging to the wide character class "graph".
The wide character class "graph" is a subclass of the wide character class
"print".
.PP
-Being a subclass of the wide character class "print", the wide character class
+Being a subclass of the wide character class "print",
+the wide character class
"graph" is disjoint from the wide character class "cntrl".
.PP
The wide character class "graph" is disjoint from the wide character class
@@ -39,10 +40,12 @@ The wide character class "graph" is disjoint from the wide character class
.\" section 7.25.2.1.10) says that "space" and "graph" are disjoint.
.PP
The wide character class "graph" contains all the wide characters from the
-wide character class "print" except the space character. It therefore contains
+wide character class "print" except the space character.
+It therefore contains
the wide character classes "alnum" and "punct".
.SH "RETURN VALUE"
-The \fBiswgraph\fP() function returns non-zero if \fIwc\fP is a wide character
+The \fBiswgraph\fP() function returns non-zero
+if \fIwc\fP is a wide character
belonging to the wide character class "graph".
Otherwise it returns zero.
.SH "CONFORMING TO"
diff --git a/man3/login.3 b/man3/login.3
index eac7a64e4..fd34fc342 100644
--- a/man3/login.3
+++ b/man3/login.3
@@ -98,7 +98,8 @@ of
.I struct utmp
is called
.I ut_name
-in BSD. Therefore,
+in BSD.
+Therefore,
.I ut_name
is defined as an alias for
.I ut_user
diff --git a/man3/memchr.3 b/man3/memchr.3
index 8c4017eb4..604fd8ced 100644
--- a/man3/memchr.3
+++ b/man3/memchr.3
@@ -39,7 +39,8 @@ memchr, memrchr \- scan memory for a character
The
.BR memchr ()
function scans the first \fIn\fP bytes of the memory
-area pointed to by \fIs\fP for the character \fIc\fP. The first byte to
+area pointed to by \fIs\fP for the character \fIc\fP.
+The first byte to
match \fIc\fP (interpreted as an unsigned character) stops the operation.
.PP
The
diff --git a/man3/memcmp.3 b/man3/memcmp.3
index aad84b7ba..866e6de63 100644
--- a/man3/memcmp.3
+++ b/man3/memcmp.3
@@ -36,7 +36,8 @@ memcmp \- compare memory areas
.fi
.SH DESCRIPTION
The \fBmemcmp\fP() function compares the first \fIn\fP bytes of the
-memory areas \fIs1\fP and \fIs2\fP. It returns an integer less than,
+memory areas \fIs1\fP and \fIs2\fP.
+It returns an integer less than,
equal to, or greater than zero if \fIs1\fP is found, respectively, to
be less than, to match, or be greater than \fIs2\fP.
.SH "RETURN VALUE"
diff --git a/man3/memfrob.3 b/man3/memfrob.3
index 7c4437907..ee3e9658d 100644
--- a/man3/memfrob.3
+++ b/man3/memfrob.3
@@ -37,7 +37,8 @@ memfrob \- frobnicate (encrypt) a memory area
.SH DESCRIPTION
The \fBmemfrob\fP() function encrypts the first \fIn\fP bytes of the
memory area \fIs\fP by exclusive-ORing each character with the number
-42. The effect can be reversed by using \fBmemfrob\fP() on the
+42.
+The effect can be reversed by using \fBmemfrob\fP() on the
encrypted memory area.
.PP
Note that this function is not a proper encryption routine as the XOR
diff --git a/man3/memmove.3 b/man3/memmove.3
index 4c6f2a34b..ca2c25b29 100644
--- a/man3/memmove.3
+++ b/man3/memmove.3
@@ -36,7 +36,8 @@ memmove \- copy memory area
.fi
.SH DESCRIPTION
The \fBmemmove\fP() function copies \fIn\fP bytes from memory area
-\fIsrc\fP to memory area \fIdest\fP. The memory areas may overlap.
+\fIsrc\fP to memory area \fIdest\fP.
+The memory areas may overlap.
.SH "RETURN VALUE"
The \fBmemmove\fP() function returns a pointer to \fIdest\fP.
.SH "CONFORMING TO"
diff --git a/man3/mkstemp.3 b/man3/mkstemp.3
index c69b1fbb3..862a412fa 100644
--- a/man3/mkstemp.3
+++ b/man3/mkstemp.3
@@ -39,7 +39,8 @@ mkstemp \- create a unique temporary file
.fi
.SH DESCRIPTION
The \fBmkstemp\fP() function generates a unique temporary filename
-from \fItemplate\fP. The last six characters of \fItemplate\fP must
+from \fItemplate\fP.
+The last six characters of \fItemplate\fP must
be XXXXXX and these are replaced with a string that makes the
filename unique.
The file is then created with mode read/write and
diff --git a/man3/mktemp.3 b/man3/mktemp.3
index 73063374d..d93a44753 100644
--- a/man3/mktemp.3
+++ b/man3/mktemp.3
@@ -40,7 +40,8 @@ mktemp \- make a unique temporary filename
.fi
.SH DESCRIPTION
The \fBmktemp\fP() function generates a unique temporary filename
-from \fItemplate\fP. The last six characters of \fItemplate\fP must
+from \fItemplate\fP.
+The last six characters of \fItemplate\fP must
be XXXXXX and these are replaced with a string that makes the
filename unique.
Since it will be modified,
diff --git a/man3/nan.3 b/man3/nan.3
index 774d2e18d..0d83439c0 100644
--- a/man3/nan.3
+++ b/man3/nan.3
@@ -19,7 +19,8 @@ Compile with \-std=c99; link with \-lm.
.SH DESCRIPTION
These functions return a representation (determined by
.IR tagp )
-of a quiet NaN. If the implementation does not support
+of a quiet NaN.
+If the implementation does not support
quiet NaNs, these functions return zero.
.LP
The call
@@ -43,7 +44,8 @@ On IEEE 754 systems, there are many representations of NaN, and
selects one.
On other systems it may do nothing.
.SH "CONFORMING TO"
-C99. See also IEC 559 and the appendix with
+C99.
+See also IEC 559 and the appendix with
recommended functions in IEEE 754/IEEE 854.
.SH "SEE ALSO"
.BR isnan (3),
diff --git a/man3/nextafter.3 b/man3/nextafter.3
index f284bfa1e..28c651631 100644
--- a/man3/nextafter.3
+++ b/man3/nextafter.3
@@ -47,7 +47,8 @@ functions, except that they have a long double second argument.
These functions will signal overflow or underflow if the result
goes outside of the range of normalized numbers.
.SH "CONFORMING TO"
-C99. This function is defined in IEC 559 (and the appendix with
+C99.
+This function is defined in IEC 559 (and the appendix with
recommended functions in IEEE 754/IEEE 854).
.SH "SEE ALSO"
.BR nearbyint (3)
diff --git a/man3/psignal.3 b/man3/psignal.3
index 67ab42077..982ae0b68 100644
--- a/man3/psignal.3
+++ b/man3/psignal.3
@@ -39,7 +39,8 @@ psignal \- print signal message
.SH DESCRIPTION
The \fBpsignal\fP() function displays a message on \fIstderr\fP
consisting of the string \fIs\fP, a colon, a space, and a string
-describing the signal number \fIsig\fP. If \fIsig\fP is invalid,
+describing the signal number \fIsig\fP.
+If \fIsig\fP is invalid,
the message displayed will indicate an unknown signal.
.PP
The array \fIsys_siglist\fP holds the signal description strings
diff --git a/man3/readdir.3 b/man3/readdir.3
index 9addb31ab..5e52f1d9a 100644
--- a/man3/readdir.3
+++ b/man3/readdir.3
@@ -42,7 +42,8 @@ readdir \- read a directory
.SH DESCRIPTION
The \fBreaddir\fP() function returns a pointer to a \fIdirent\fP structure
representing the next directory entry in the directory stream pointed
-to by \fIdir\fP. It returns NULL on reaching the end-of-file or if
+to by \fIdir\fP.
+It returns NULL on reaching the end-of-file or if
an error occurred.
.PP
On Linux, the
diff --git a/man3/remainder.3 b/man3/remainder.3
index 2de66fcaa..a0bf73137 100644
--- a/man3/remainder.3
+++ b/man3/remainder.3
@@ -96,7 +96,8 @@ and
are from C99.
The function
.BR drem ()
-is from 4.3BSD. The
+is from 4.3BSD.
+The
.I float
and
.I "long double"
diff --git a/man3/stpcpy.3 b/man3/stpcpy.3
index fefd07973..51cfedbf4 100644
--- a/man3/stpcpy.3
+++ b/man3/stpcpy.3
@@ -36,7 +36,8 @@ stpcpy \- copy a string returning a pointer to its end
.SH DESCRIPTION
The \fBstpcpy\fP() function copies the string pointed to by \fIsrc\fP
(including the terminating `\\0' character) to the array pointed to by
-\fIdest\fP. The strings may not overlap, and the destination string
+\fIdest\fP.
+The strings may not overlap, and the destination string
\fIdest\fP must be large enough to receive the copy.
.SH "RETURN VALUE"
\fBstpcpy\fP() returns a pointer to the \fBend\fP of the string
diff --git a/man3/strcmp.3 b/man3/strcmp.3
index 7fe2bfa95..6ddabb459 100644
--- a/man3/strcmp.3
+++ b/man3/strcmp.3
@@ -40,7 +40,8 @@ strcmp, strncmp \- compare two strings
.fi
.SH DESCRIPTION
The \fBstrcmp\fP() function compares the two strings \fIs1\fP and
-\fIs2\fP. It returns an integer less than, equal to, or greater
+\fIs2\fP.
+It returns an integer less than, equal to, or greater
than zero if \fIs1\fP is found, respectively, to be less than,
to match, or be greater than \fIs2\fP.
.PP
diff --git a/man3/strcoll.3 b/man3/strcoll.3
index ded1c4ea3..c0f976cb7 100644
--- a/man3/strcoll.3
+++ b/man3/strcoll.3
@@ -36,9 +36,11 @@ strcoll \- compare two strings using the current locale
.fi
.SH DESCRIPTION
The \fBstrcoll\fP() function compares the two strings \fIs1\fP and
-\fIs2\fP. It returns an integer less than, equal to, or greater
+\fIs2\fP.
+It returns an integer less than, equal to, or greater
than zero if \fIs1\fP is found, respectively, to be less than,
-to match, or be greater than \fIs2\fP. The comparison is based on
+to match, or be greater than \fIs2\fP.
+The comparison is based on
strings interpreted as appropriate for the program's current locale
for category \fILC_COLLATE\fP. (See \fBsetlocale\fP(3)).
.SH "RETURN VALUE"
diff --git a/man3/strcpy.3 b/man3/strcpy.3
index 7534c9c9b..6429afafe 100644
--- a/man3/strcpy.3
+++ b/man3/strcpy.3
@@ -42,7 +42,8 @@ strcpy, strncpy \- copy a string
.SH DESCRIPTION
The \fBstrcpy\fP() function copies the string pointed to by \fIsrc\fP
(including the terminating `\\0' character) to the array pointed to by
-\fIdest\fP. The strings may not overlap, and the destination string
+\fIdest\fP.
+The strings may not overlap, and the destination string
\fIdest\fP must be large enough to receive the copy.
.PP
The \fBstrncpy\fP() function is similar, except that not more than
diff --git a/man3/strdup.3 b/man3/strdup.3
index c2635793a..e232cd51d 100644
--- a/man3/strdup.3
+++ b/man3/strdup.3
@@ -47,7 +47,8 @@ strdup, strndup, strdupa, strndupa \- duplicate a string
.fi
.SH DESCRIPTION
The \fBstrdup\fP() function returns a pointer to a new string which
-is a duplicate of the string \fIs\fP. Memory for the new string is
+is a duplicate of the string \fIs\fP.
+Memory for the new string is
obtained with \fBmalloc\fP(3), and can be freed with \fBfree\fP(3).
The \fBstrndup\fP() function is similar, but only copies at most
diff --git a/man3/strnlen.3 b/man3/strnlen.3
index 9e106b28b..28d458d70 100644
--- a/man3/strnlen.3
+++ b/man3/strnlen.3
@@ -22,7 +22,8 @@ strnlen \- determine the length of a fixed-size string
.SH DESCRIPTION
The \fBstrnlen\fP() function returns the number of characters in the string
pointed to by \fIs\fP, not including the terminating '\\0' character, but
-at most \fImaxlen\fP. In doing this, \fBstrnlen\fP() looks only at the first
+at most \fImaxlen\fP.
+In doing this, \fBstrnlen\fP() looks only at the first
\fImaxlen\fP characters at \fIs\fP and never beyond \fIs+maxlen\fP.
.SH "RETURN VALUE"
The \fBstrnlen\fP() function returns \fIstrlen(s)\fP, if that is less than
diff --git a/man3/strstr.3 b/man3/strstr.3
index 122b5d4e6..87255199b 100644
--- a/man3/strstr.3
+++ b/man3/strstr.3
@@ -45,8 +45,8 @@ strstr \- locate a substring
.fi
.SH DESCRIPTION
The \fBstrstr\fP() function finds the first occurrence of the substring
-\fIneedle\fP in the string \fIhaystack\fP. The terminating \`\\0'
-characters are not compared.
+\fIneedle\fP in the string \fIhaystack\fP.
+The terminating \`\\0' characters are not compared.
The \fBstrcasestr\fP() function is like \fBstrstr\fP(),
but ignores the case of both arguments.
diff --git a/man3/system.3 b/man3/system.3
index 87deca388..c762e3b52 100644
--- a/man3/system.3
+++ b/man3/system.3
@@ -87,7 +87,8 @@ etc.) are made available when including
.PP
As mentioned,
.BR system ()
-ignores SIGINT and SIGQUIT. This may make programs that call it
+ignores SIGINT and SIGQUIT.
+This may make programs that call it
from a loop uninterruptible, unless they take care themselves
to check the exit status of the child.
E.g.
diff --git a/man3/tcgetpgrp.3 b/man3/tcgetpgrp.3
index fa3cc058a..2407f4d5c 100644
--- a/man3/tcgetpgrp.3
+++ b/man3/tcgetpgrp.3
@@ -102,7 +102,8 @@ process in the same session as the calling process.
These functions are implemented via the TIOCGPGRP and
TIOCSPGRP ioctls.
.SH HISTORY
-These ioctls appeared in 4.2BSD. The functions are POSIX inventions.
+These ioctls appeared in 4.2BSD.
+The functions are POSIX inventions.
.SH "CONFORMING TO"
POSIX.1-2001.
.SH "SEE ALSO"
diff --git a/man3/towctrans.3 b/man3/towctrans.3
index 09967c9ad..0ac12a51b 100644
--- a/man3/towctrans.3
+++ b/man3/towctrans.3
@@ -21,15 +21,15 @@ towctrans \- wide-character transliteration
.BI "wint_t towctrans(wint_t " wc ", wctrans_t " desc );
.fi
.SH DESCRIPTION
-If \fIwc\fP is a wide character, the \fBtowctrans\fP() function translates it
-according to the transliteration descriptor \fIdesc\fP. If \fIwc\fP is WEOF,
-WEOF is returned.
+If \fIwc\fP is a wide character, the \fBtowctrans\fP() function
+translates it according to the transliteration descriptor \fIdesc\fP.
+If \fIwc\fP is WEOF, WEOF is returned.
.PP
-\fIdesc\fP must be a transliteration descriptor returned by the \fBwctrans\fP()
-function.
+\fIdesc\fP must be a transliteration descriptor returned by
+the \fBwctrans\fP() function.
.SH "RETURN VALUE"
-The \fBtowctrans\fP() function returns the translated wide character, or WEOF if
-\fIwc\fP is WEOF.
+The \fBtowctrans\fP() function returns the translated wide character,
+or WEOF if \fIwc\fP is WEOF.
.SH "CONFORMING TO"
C99.
.SH "SEE ALSO"
diff --git a/man3/wcstok.3 b/man3/wcstok.3
index d8990c40a..353e4f954 100644
--- a/man3/wcstok.3
+++ b/man3/wcstok.3
@@ -28,12 +28,13 @@ It can be used
to split a wide-character string \fIwcs\fP into tokens, where a token is
defined as a substring not containing any wide-characters from \fIdelim\fP.
.PP
-The search starts at \fIwcs\fP, if \fIwcs\fP is not NULL, or at \fI*ptr\fP, if
-\fIwcs\fP is NULL. First, any delimiter wide-characters are skipped, i.e. the
+The search starts at \fIwcs\fP, if \fIwcs\fP is not NULL,
+or at \fI*ptr\fP, if \fIwcs\fP is NULL.
+First, any delimiter wide-characters are skipped, i.e. the
pointer is advanced beyond any wide-characters which occur in \fIdelim\fP.
-If the end of the wide-character string is now reached, \fBwcstok\fP() returns
-NULL, to indicate that no tokens were found, and stores an appropriate value
-in \fI*ptr\fP,
+If the end of the wide-character string is now
+reached, \fBwcstok\fP() returns NULL, to indicate that no tokens
+were found, and stores an appropriate value in \fI*ptr\fP,
so that subsequent calls to \fBwcstok\fP() will continue to return NULL.
Otherwise, the \fBwcstok\fP() function recognizes the beginning of a token
and returns a pointer to it, but before doing that, it zero-terminates the
@@ -41,8 +42,8 @@ token by replacing the next wide-character which occurs in \fIdelim\fP with
a L'\\0' character, and it updates \fI*ptr\fP so that subsequent calls will
continue searching after the end of recognized token.
.SH "RETURN VALUE"
-The \fBwcstok\fP() function returns a pointer to the next token, or NULL if no
-further token was found.
+The \fBwcstok\fP() function returns a pointer to the next token,
+or NULL if no further token was found.
.SH NOTES
The original \fIwcs\fP wide-character string is destructively modified during
the operation.
diff --git a/man3/wcwidth.3 b/man3/wcwidth.3
index 5059f5bae..08ebbca83 100644
--- a/man3/wcwidth.3
+++ b/man3/wcwidth.3
@@ -21,11 +21,14 @@ wcwidth \- determine columns needed for a wide character
.BI "int wcwidth(wchar_t " c );
.fi
.SH DESCRIPTION
-The \fBwcwidth\fP() function returns the number of columns needed to represent
-the wide character \fIc\fP. If \fIc\fP is a printable wide character, the value
-is at least 0. If \fIc\fP is L'\\0', the value is 0. Otherwise \-1 is returned.
+The \fBwcwidth\fP() function returns the number of columns
+needed to represent the wide character \fIc\fP.
+If \fIc\fP is a printable wide character, the value
+is at least 0.
+If \fIc\fP is L'\\0', the value is 0. Otherwise \-1 is returned.
.SH "RETURN VALUE"
-The \fBwcwidth\fP() function returns the number of column positions for \fIc\fP.
+The \fBwcwidth\fP() function returns the number of
+column positions for \fIc\fP.
.SH "CONFORMING TO"
POSIX.1-2001.