diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-07-06 08:00:30 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-07-06 08:00:30 +0000 |
commit | c65433e6a5d9f49887534a0a69ae13702e34852b (patch) | |
tree | 75885340a3681dcc641400ee07a2f44d0e7eccc1 | |
parent | 21cb07dc5369795a9fa0198dc97db4de4003592c (diff) |
hyphen/dash fixes.
-rw-r--r-- | man3/INFINITY.3 | 2 | ||||
-rw-r--r-- | man3/__setfpucw.3 | 6 | ||||
-rw-r--r-- | man3/bcmp.3 | 2 | ||||
-rw-r--r-- | man3/bcopy.3 | 2 | ||||
-rw-r--r-- | man3/bzero.3 | 2 | ||||
-rw-r--r-- | man3/exit.3 | 2 | ||||
-rw-r--r-- | man3/expm1.3 | 4 | ||||
-rw-r--r-- | man3/fmod.3 | 2 | ||||
-rw-r--r-- | man3/gethostbyname.3 | 2 | ||||
-rw-r--r-- | man3/getlogin.3 | 4 | ||||
-rw-r--r-- | man3/gets.3 | 6 | ||||
-rw-r--r-- | man3/getttyent.3 | 2 | ||||
-rw-r--r-- | man3/glob.3 | 2 | ||||
-rw-r--r-- | man3/iconv_open.3 | 2 | ||||
-rw-r--r-- | man3/infnan.3 | 2 | ||||
-rw-r--r-- | man3/isalpha.3 | 4 | ||||
-rw-r--r-- | man3/lockf.3 | 4 | ||||
-rw-r--r-- | man3/logb.3 | 2 | ||||
-rw-r--r-- | man3/malloc.3 | 2 | ||||
-rw-r--r-- | man3/netlink.3 | 2 | ||||
-rw-r--r-- | man3/printf.3 | 4 | ||||
-rw-r--r-- | man3/puts.3 | 2 | ||||
-rw-r--r-- | man3/regex.3 | 2 | ||||
-rw-r--r-- | man3/remainder.3 | 2 | ||||
-rw-r--r-- | man3/setaliasent.3 | 2 | ||||
-rw-r--r-- | man3/setlocale.3 | 2 | ||||
-rw-r--r-- | man3/significand.3 | 2 | ||||
-rw-r--r-- | man3/sinh.3 | 2 | ||||
-rw-r--r-- | man3/strchr.3 | 2 | ||||
-rw-r--r-- | man3/strftime.3 | 2 | ||||
-rw-r--r-- | man3/system.3 | 2 | ||||
-rw-r--r-- | man3/wcpncpy.3 | 2 |
32 files changed, 41 insertions, 41 deletions
diff --git a/man3/INFINITY.3 b/man3/INFINITY.3 index 84a8b7601..a856b6bab 100644 --- a/man3/INFINITY.3 +++ b/man3/INFINITY.3 @@ -22,7 +22,7 @@ .\" .TH INFINITY 3 2004-10-31 "" "Linux Programmer's Manual" .SH NAME -INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL - floating point constants +INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating point constants .SH SYNOPSIS .nf #define _ISOC99_SOURCE diff --git a/man3/__setfpucw.3 b/man3/__setfpucw.3 index 9ead3b9b8..91c2853b5 100644 --- a/man3/__setfpucw.3 +++ b/man3/__setfpucw.3 @@ -20,11 +20,11 @@ exceptions. Set fpu control word on i386 architecture to .br - - extended precision + \- extended precision .br - - rounding to nearest + \- rounding to nearest .br - - exceptions on overflow, zero divide and NaN + \- exceptions on overflow, zero divide and NaN .br .SH AVAILABILITY As of glibc 2.1 this function does not exist anymore. diff --git a/man3/bcmp.3 b/man3/bcmp.3 index c940645e2..d581be135 100644 --- a/man3/bcmp.3 +++ b/man3/bcmp.3 @@ -55,7 +55,7 @@ The function returns 0 if the byte sequences are equal, otherwise a non-zero result is returned. .SH "CONFORMING TO" -4.3BSD. This function is deprecated -- use +4.3BSD. This function is deprecated: use .BR memcmp in new programs. .SH "SEE ALSO" diff --git a/man3/bcopy.3 b/man3/bcopy.3 index d2587834e..730bc8167 100644 --- a/man3/bcopy.3 +++ b/man3/bcopy.3 @@ -50,7 +50,7 @@ The result is correct, even when both areas overlap. .SH "RETURN VALUE" None. .SH "CONFORMING TO" -4.3BSD. This function is deprecated -- use +4.3BSD. This function is deprecated: use .B memcpy or .B memmove diff --git a/man3/bzero.3 b/man3/bzero.3 index e648e811f..098623de7 100644 --- a/man3/bzero.3 +++ b/man3/bzero.3 @@ -46,7 +46,7 @@ to zero. .SH "RETURN VALUE" None. .SH "CONFORMING TO" -4.3BSD. This function is deprecated -- use +4.3BSD. This function is deprecated: use .BR memset in new programs. .SH "SEE ALSO" diff --git a/man3/exit.3 b/man3/exit.3 index aba915a31..dd3a06c9e 100644 --- a/man3/exit.3 +++ b/man3/exit.3 @@ -65,7 +65,7 @@ The use of EXIT_SUCCESS and EXIT_FAILURE is slightly more portable (to non-Unix environments) than that of 0 and some non-zero value like 1 or \-1. In particular, VMS uses a different convention. .LP -BSD has attempted to standardize exit codes - see the file +BSD has attempted to standardize exit codes; see the file .IR <sysexits.h> . .LP After \fBexit\fP(), the exit status must be transmitted to the diff --git a/man3/expm1.3 b/man3/expm1.3 index e740df727..026969dc3 100644 --- a/man3/expm1.3 +++ b/man3/expm1.3 @@ -40,9 +40,9 @@ expm1, expm1f, expm1l \- exponential minus 1 Link with \-lm. .SH DESCRIPTION .BI expm1( x ) -returns a value equivalent to `exp (\fIx\fP) - 1'. It is +returns a value equivalent to `exp (\fIx\fP) \- 1'. It is computed in a way that is accurate even if the value of \fIx\fP is near -zero--a case where `exp (\fIx\fP) - 1' would be inaccurate due to +zero--a case where `exp (\fIx\fP) \- 1' would be inaccurate due to subtraction of two numbers that are nearly equal. .SH "CONFORMING TO" BSD, C99. diff --git a/man3/fmod.3 b/man3/fmod.3 index 25e6be3b4..66c5b0be9 100644 --- a/man3/fmod.3 +++ b/man3/fmod.3 @@ -45,7 +45,7 @@ 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/gethostbyname.3 b/man3/gethostbyname.3 index 9452281d5..7feb3b508 100644 --- a/man3/gethostbyname.3 +++ b/man3/gethostbyname.3 @@ -284,7 +284,7 @@ and may return pointers to static data, which may be overwritten by later calls. Copying the .I struct hostent -does not suffice, since it contains pointers - a deep copy is required. +does not suffice, since it contains pointers; a deep copy is required. .LP The SUS-v2 standard is buggy and declares the .I len diff --git a/man3/getlogin.3 b/man3/getlogin.3 index 959cc2dc7..83d06da4a 100644 --- a/man3/getlogin.3 +++ b/man3/getlogin.3 @@ -126,8 +126,8 @@ instead of A bug. (Other recent systems, like SunOS 5.8 and HPUX 11.11 and FreeBSD 4.8 all return the login name also when stdin is redirected.) .LP -Nobody knows precisely what cuserid() does - avoid it in portable programs - -avoid it altogether - use getpwuid(geteuid()) instead, if that is +Nobody knows precisely what cuserid() does; avoid it in portable programs. +Or avoid it altogether: use getpwuid(geteuid()) instead, if that is what you meant. DO NOT USE cuserid(). .SH "SEE ALSO" diff --git a/man3/gets.3 b/man3/gets.3 index 4f9671fd9..de325d77e 100644 --- a/man3/gets.3 +++ b/man3/gets.3 @@ -96,7 +96,7 @@ back to .IR stream , cast to .BR "unsigned char" , -where it is available for subsequent read operations. Pushed - back characters +where it is available for subsequent read operations. Pushed-back characters will be returned in reverse order; only one pushback is guaranteed. .PP Calls to the functions described here can be mixed with each other and with @@ -130,7 +130,7 @@ on success, or .B EOF on error. .SH "CONFORMING TO" -ANSI - C, POSIX.1. +ANSI-C, POSIX.1. LSB deprecates .BR gets() . .SH BUGS @@ -148,7 +148,7 @@ instead. .PP It is not advisable to mix calls to input functions from the .B stdio -library with low - level calls to +library with low-level calls to .B read() for the file descriptor associated with the input stream; the results will be undefined and very probably not what you want. diff --git a/man3/getttyent.3 b/man3/getttyent.3 index 0c8e74702..173ab100e 100644 --- a/man3/getttyent.3 +++ b/man3/getttyent.3 @@ -3,7 +3,7 @@ .\" .TH GETTTYENT 3 2002-07-18 "glibc" .SH NAME -getttyent, getttynam, setttyent, endttyent - get ttys file entry +getttyent, getttynam, setttyent, endttyent \- get ttys file entry .SH SYNOPSIS .sp .B "#include <ttyent.h>" diff --git a/man3/glob.3 b/man3/glob.3 index 8946015af..029f38b46 100644 --- a/man3/glob.3 +++ b/man3/glob.3 @@ -205,7 +205,7 @@ for no found matches. .SH EXAMPLES One example of use is the following code, which simulates typing .nl -.B ls -l *.c ../*.c +.B ls \-l *.c ../*.c .nl in the shell. .nf diff --git a/man3/iconv_open.3 b/man3/iconv_open.3 index b798a18d2..4e544824c 100644 --- a/man3/iconv_open.3 +++ b/man3/iconv_open.3 @@ -25,7 +25,7 @@ character encoding \fItocode\fP. .PP The values permitted for \fIfromcode\fP and \fItocode\fP and the supported combinations are system dependent. For the GNU C library, the permitted -values are listed by the \fBiconv --list\fP command, and all combinations +values are listed by the \fBiconv \-\-list\fP command, and all combinations of the listed values are supported. .PP The resulting conversion descriptor can be used with \fBiconv\fP any number diff --git a/man3/infnan.3 b/man3/infnan.3 index 206b3340f..274abf673 100644 --- a/man3/infnan.3 +++ b/man3/infnan.3 @@ -54,7 +54,7 @@ but is not available in .SH "RETURN VALUE" If \fIerror\fP is ERANGE (Infinity), HUGE_VAL is returned. .PP -If \fIerror\fP is -ERANGE (-Infinity), -HUGE_VAL is returned. +If \fIerror\fP is \-ERANGE (\-Infinity), \-HUGE_VAL is returned. .PP If \fIerror\fP is anything else, NAN is returned. .SH ERRORS diff --git a/man3/isalpha.3 b/man3/isalpha.3 index 5d2e90ace..f9220395c 100644 --- a/man3/isalpha.3 +++ b/man3/isalpha.3 @@ -141,7 +141,7 @@ The values returned are non-zero if the character falls into the tested class, and a zero value if not. .SH "CONFORMING TO" -ANSI - C, BSD 4.3. +ANSI-C, BSD 4.3. \fBisascii()\fP is a BSD extension and is also an SVID extension. \fBisblank()\fP conforms to ISO C99 7.4.1.3. @@ -149,7 +149,7 @@ and is also an SVID extension. The details of what characters belong into which class depend on the current locale. For example, .B isupper() -will not recognize an A - umlaut as an uppercase letter in the default +will not recognize an A-umlaut (\(:A) as an uppercase letter in the default .B "C" locale. .SH "SEE ALSO" diff --git a/man3/lockf.3 b/man3/lockf.3 index 1040ad1c8..9c1d10c1b 100644 --- a/man3/lockf.3 +++ b/man3/lockf.3 @@ -33,11 +33,11 @@ The file is specified by a file descriptor open for writing, the action by .IR cmd , and the section consists of byte positions -.IR pos .. pos + len -1 +.IR pos .. pos + len \-1 if .I len is positive, and -.IR pos - len .. pos -1 +.IR pos \- len .. pos \-1 if .I len is negative, where diff --git a/man3/logb.3 b/man3/logb.3 index 88d8f22cb..e8fc126c0 100644 --- a/man3/logb.3 +++ b/man3/logb.3 @@ -56,7 +56,7 @@ would have if it were normalized. .LP If .I x -is zero, -HUGE_VAL (resp. -HUGE_VALF, -HUGE_VALL) +is zero, \-HUGE_VAL (resp. \-HUGE_VALF, \-HUGE_VALL) is returned, and a pole error occurs. If .I x diff --git a/man3/malloc.3 b/man3/malloc.3 index 548dc1d8f..078b9b3eb 100644 --- a/man3/malloc.3 +++ b/man3/malloc.3 @@ -123,7 +123,7 @@ was equal to 0, either NULL or a pointer suitable to be passed to .IR free () is returned. If .B realloc() -fails the original block is left untouched - it is not freed or moved. +fails the original block is left untouched; it is not freed or moved. .SH "CONFORMING TO" ANSI-C .SH "SEE ALSO" diff --git a/man3/netlink.3 b/man3/netlink.3 index 5d7526c50..631f36eeb 100644 --- a/man3/netlink.3 +++ b/man3/netlink.3 @@ -58,7 +58,7 @@ NLMSG_NEXT Get the next .I nlmsghdr in a multipart message. The caller must check if the current nlmsghdr -didn't have the NLMSG_DONE set - this function doesn't return NULL on end. The +didn't have the NLMSG_DONE set \- this function doesn't return NULL on end. The length parameter is an lvalue containing the remaining length of the message buffer. This macro decrements it by the length of the message header. .TP diff --git a/man3/printf.3 b/man3/printf.3 index ba42efe85..5a13dd0ae 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -274,7 +274,7 @@ if both are given. (or empty string) produced by a signed conversion. .TP .B + -A sign (+ or -) always be placed before a number produced by a signed +A sign (+ or \-) always be placed before a number produced by a signed conversion. By default a sign is used only for negative numbers. A .B + overrides a space if both are used. @@ -857,7 +857,7 @@ Unix V7 defines the three routines .BR printf , .BR fprintf , .BR sprintf , -and has the flag -, the width or precision *, the length modifier l, +and has the flag \-, the width or precision *, the length modifier l, and the conversions doxfegcsu, and also D,O,U,X as synonyms for ld,lo,lu,lx. This is still true for BSD 2.9.1, but BSD 2.10 has the flags #, + and <space> and no longer mentions D,O,U,X. diff --git a/man3/puts.3 b/man3/puts.3 index 23fbc33e8..2b88c22d6 100644 --- a/man3/puts.3 +++ b/man3/puts.3 @@ -95,7 +95,7 @@ return a non-negative number on success, or on error. .PP .SH "CONFORMING TO" -ANSI - C, POSIX.1 +ANSI-C, POSIX.1 .SH BUGS It is not advisable to mix calls to output functions from the .B stdio diff --git a/man3/regex.3 b/man3/regex.3 index 007827190..d0cfc0402 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -225,7 +225,7 @@ and are non-zero, .I errbuf is filled in with the first -.I "errbuf_size - 1" +.I "errbuf_size \- 1" characters of the error message and a terminating null. .SH "POSIX PATTERN BUFFER FREEING" Supplying diff --git a/man3/remainder.3 b/man3/remainder.3 index fa681f255..0be7dae89 100644 --- a/man3/remainder.3 +++ b/man3/remainder.3 @@ -58,7 +58,7 @@ function computes the remainder of dividing by .IR y . The return value is -.IR x " - " n " * " y , +.IR x " \- " n " * " y , where .I n is the value diff --git a/man3/setaliasent.3 b/man3/setaliasent.3 index cb6d2ed42..703a94d17 100644 --- a/man3/setaliasent.3 +++ b/man3/setaliasent.3 @@ -88,7 +88,7 @@ and return a non-zero value on error. .SH EXAMPLE The following example compiles with -.IR "gcc example.c -o example" . +.IR "gcc example.c \-o example" . It will dump all names in the alias database. .sp .nf diff --git a/man3/setlocale.3 b/man3/setlocale.3 index a121409c4..12f1c639b 100644 --- a/man3/setlocale.3 +++ b/man3/setlocale.3 @@ -127,7 +127,7 @@ is a character set or encoding identifier like .B "ISO-8859-1" or .BR "UTF-8" . -For a list of all supported locales, try "locale -a", cf.\& +For a list of all supported locales, try "locale \-a", cf.\& .BR locale (1). .PP If diff --git a/man3/significand.3 b/man3/significand.3 index 0bd2d34c4..1487c1c13 100644 --- a/man3/significand.3 +++ b/man3/significand.3 @@ -24,7 +24,7 @@ scaled to the range [1,2). It is equivalent to .sp .in +8 -scalb(x, (double) -ilogb(x)) +scalb(x, (double) \-ilogb(x)) .in -8 .PP This function exists mainly for use in certain standardized tests diff --git a/man3/sinh.3 b/man3/sinh.3 index 8ee2052bf..572be0f6d 100644 --- a/man3/sinh.3 +++ b/man3/sinh.3 @@ -46,7 +46,7 @@ sinh, sinhf, sinhl \- hyperbolic sine function Link with \-lm. .SH DESCRIPTION The \fBsinh()\fP function returns the hyperbolic sine of \fIx\fP, which -is defined mathematically as (exp(x) - exp(-x)) / 2. +is defined mathematically as (exp(x) \- exp(-x)) / 2. .SH "CONFORMING TO" SVID 3, POSIX, BSD 4.3, ISO 9899 (C99). The float and the long double variants are C99 requirements. diff --git a/man3/strchr.3 b/man3/strchr.3 index c5a430a2b..cb37ed490 100644 --- a/man3/strchr.3 +++ b/man3/strchr.3 @@ -43,7 +43,7 @@ of the character \fIc\fP in the string \fIs\fP. The \fBstrrchr()\fP function returns a pointer to the last occurrence of the character \fIc\fP in the string \fIs\fP. .PP -Here "character" means "byte" - these functions do not work with +Here "character" means "byte"; these functions do not work with wide or multi-byte characters. .SH "RETURN VALUE" The \fBstrchr()\fP and \fBstrrchr()\fP functions return a pointer to diff --git a/man3/strftime.3 b/man3/strftime.3 index f09a08998..1a578fdda 100644 --- a/man3/strftime.3 +++ b/man3/strftime.3 @@ -71,7 +71,7 @@ The century number (year/100) as a 2-digit integer. (SU) The day of the month as a decimal number (range 01 to 31). .TP .B %D -Equivalent to %m/%d/%y. (Yecch - for Americans only. +Equivalent to %m/%d/%y. (Yecch \- for Americans only. Americans should note that in other countries %d/%m/%y is rather common. This means that in international context this format is ambiguous and should not be used.) (SU) diff --git a/man3/system.3 b/man3/system.3 index c2d82feeb..4996413ee 100644 --- a/man3/system.3 +++ b/man3/system.3 @@ -39,7 +39,7 @@ system \- execute a shell command executes a command specified in .I command by calling -.BR "/bin/sh -c" +.BR "/bin/sh \-c" .IR command , and returns after the command has been completed. During execution of the command, diff --git a/man3/wcpncpy.3 b/man3/wcpncpy.3 index ce379a93f..b4b64295d 100644 --- a/man3/wcpncpy.3 +++ b/man3/wcpncpy.3 @@ -37,7 +37,7 @@ The programmer must ensure that there is room for at least \fIn\fP wide characters at \fIdest\fP. .SH "RETURN VALUE" \fBwcpncpy\fP returns a pointer to the last wide character written, i.e. -\fIdest + n - 1\fP. +\fIdest + n \- 1\fP. .SH "CONFORMING TO" This function is a GNU extension. .SH "SEE ALSO" |