diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-07-07 08:27:03 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-07-07 08:27:03 +0000 |
| commit | 8c383102d0093c8f042728aa05716b89416b64dd (patch) | |
| tree | 17d8f127d4fb4cd3239b1c8e3eca7c4de8e5e4fd /man3 | |
| parent | 2bc2f4798feabd972879ff8f1633b08e337f57e1 (diff) | |
| download | man-pages-8c383102d0093c8f042728aa05716b89416b64dd.tar.gz | |
hyphen/dash fixes
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/bsearch.3 | 2 | ||||
| -rw-r--r-- | man3/cacosh.3 | 4 | ||||
| -rw-r--r-- | man3/carg.3 | 2 | ||||
| -rw-r--r-- | man3/casin.3 | 4 | ||||
| -rw-r--r-- | man3/casinh.3 | 2 | ||||
| -rw-r--r-- | man3/catan.3 | 4 | ||||
| -rw-r--r-- | man3/catanh.3 | 4 | ||||
| -rw-r--r-- | man3/cerf.3 | 2 | ||||
| -rw-r--r-- | man3/clock.3 | 2 | ||||
| -rw-r--r-- | man3/clog.3 | 2 | ||||
| -rw-r--r-- | man3/csinh.3 | 2 | ||||
| -rw-r--r-- | man3/getgrouplist.3 | 2 | ||||
| -rw-r--r-- | man3/getutent.3 | 4 | ||||
| -rw-r--r-- | man3/glob.3 | 2 | ||||
| -rw-r--r-- | man3/printf.3 | 8 | ||||
| -rw-r--r-- | man3/scandir.3 | 2 | ||||
| -rw-r--r-- | man3/scanf.3 | 4 | ||||
| -rw-r--r-- | man3/strfmon.3 | 2 | ||||
| -rw-r--r-- | man3/strtod.3 | 2 | ||||
| -rw-r--r-- | man3/strtol.3 | 2 | ||||
| -rw-r--r-- | man3/strtoul.3 | 2 | ||||
| -rw-r--r-- | man3/tgamma.3 | 4 | ||||
| -rw-r--r-- | man3/ttyslot.3 | 4 | ||||
| -rw-r--r-- | man3/wordexp.3 | 2 |
24 files changed, 35 insertions, 35 deletions
diff --git a/man3/bsearch.3 b/man3/bsearch.3 index f065011cf7..ec58c340a7 100644 --- a/man3/bsearch.3 +++ b/man3/bsearch.3 @@ -80,7 +80,7 @@ struct mi { static int compmi(const void *m1, const void *m2) { struct mi *mi1 = (struct mi *) m1; struct mi *mi2 = (struct mi *) m2; - return strcmp(mi1->name, mi2->name); + return strcmp(mi1\->name, mi2\->name); } int main(int argc, char **argv) { diff --git a/man3/cacosh.3 b/man3/cacosh.3 index 6e4501aca8..4fc9b0634b 100644 --- a/man3/cacosh.3 +++ b/man3/cacosh.3 @@ -17,10 +17,10 @@ Link with \-lm. .SH DESCRIPTION The cacosh() function calculates the complex acosh(). If y = cacosh(z), then z = ccosh(y). -The imaginary part of y is chosen in the interval [-pi,pi]. +The imaginary part of y is chosen in the interval [\-pi,pi]. The real part of y is chosen nonnegative. .LP -One has cacosh(z) = (0.5)*clog((1+z)/(1-z)). +One has cacosh(z) = (0.5)*clog((1+z)/(1\-z)). .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/carg.3 b/man3/carg.3 index 3185c38cde..5cc464d8cb 100644 --- a/man3/carg.3 +++ b/man3/carg.3 @@ -25,7 +25,7 @@ and a = carg(z) is the "phase angle", the argument of z. .LP One has carg(z) = atan(creal(z) / cimag(z)). .SH "RETURN VALUE" -The return value is the range of [-pi,pi]. +The return value is the range of [\-pi,pi]. .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/casin.3 b/man3/casin.3 index d1c77e5bd9..24fcc790a0 100644 --- a/man3/casin.3 +++ b/man3/casin.3 @@ -17,10 +17,10 @@ Link with \-lm. .SH DESCRIPTION The casin() function calculates the complex asin(). If y = casin(z), then z = csin(y). -The real part of y is chosen in the interval [-pi/2,pi/2]. +The real part of y is chosen in the interval [\-pi/2,pi/2]. .LP One has -casin(z) = \-i clog(iz+csqrt(1-z*z)). +casin(z) = \-i clog(iz+csqrt(1\-z*z)). .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/casinh.3 b/man3/casinh.3 index 7f819f1ea8..4c1f94b2ae 100644 --- a/man3/casinh.3 +++ b/man3/casinh.3 @@ -17,7 +17,7 @@ Link with \-lm. .SH DESCRIPTION The casinh() function calculates the complex asinh(). If y = casinh(z), then z = csinh(y). -The imaginary part of y is chosen in the interval [-pi/2,pi/2]. +The imaginary part of y is chosen in the interval [\-pi/2,pi/2]. .LP One has casinh(z) = clog(z+csqrt(z*z+1)). .SH "CONFORMING TO" diff --git a/man3/catan.3 b/man3/catan.3 index cb360a0094..b9f1247a4b 100644 --- a/man3/catan.3 +++ b/man3/catan.3 @@ -17,10 +17,10 @@ Link with \-lm. .SH DESCRIPTION The catan() function calculates the complex atan(). If y = catan(z), then z = ctan(y). -The real part of y is chosen in the interval [-pi/2,pi/2]. +The real part of y is chosen in the interval [\-pi/2,pi/2]. .LP One has -catan(z) = 1/2i clog((1+iz)/(1-iz)). +catan(z) = 1/2i clog((1+iz)/(1\-iz)). .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/catanh.3 b/man3/catanh.3 index 9e3388d88a..9998ae0231 100644 --- a/man3/catanh.3 +++ b/man3/catanh.3 @@ -17,9 +17,9 @@ Link with \-lm. .SH DESCRIPTION The catanh() function calculates the complex atanh(). If y = catanh(z), then z = ctanh(y). -The imaginary part of y is chosen in the interval [-pi/2,pi/2]. +The imaginary part of y is chosen in the interval [\-pi/2,pi/2]. .LP -One has catanh(z) = 0.5*clog((1+z)/(1-z)). +One has catanh(z) = 0.5*clog((1+z)/(1\-z)). .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/cerf.3 b/man3/cerf.3 index d8c71baa2d..7265bf1d1b 100644 --- a/man3/cerf.3 +++ b/man3/cerf.3 @@ -23,7 +23,7 @@ Link with \-lm. .SH DESCRIPTION The function cerf() is the complex version of the error function. erf(z) = 2/sqrt(pi) * integral from 0 to z of exp(\-t*t) dt. -The function cerfc() is defined as cerfc(z) = 1-cerf(z). +The function cerfc() is defined as cerfc(z) = 1\-cerf(z). .\" must check 1/sqrt(2*pi) ? .SH "CONFORMING TO" The function name is reserved for future use in C99. diff --git a/man3/clock.3 b/man3/clock.3 index 80a770581a..5d7af40045 100644 --- a/man3/clock.3 +++ b/man3/clock.3 @@ -43,7 +43,7 @@ The value returned is the CPU time used so far as a to get the number of seconds used, divide by .BR CLOCKS_PER_SEC . If the processor time used is not available or its value cannot -be represented, the function returns the value (clock_t)-1. +be represented, the function returns the value (clock_t)\-1. .SH "CONFORMING TO" ANSI C. POSIX requires that CLOCKS_PER_SEC equals 1000000 independent diff --git a/man3/clog.3 b/man3/clog.3 index 8fb045c985..9300ea1126 100644 --- a/man3/clog.3 +++ b/man3/clog.3 @@ -17,7 +17,7 @@ Link with \-lm. .SH DESCRIPTION The logarithm clog is the inverse function of the exponential cexp. Thus, if y = clog(z), then z = cexp(y). -The imaginary part of y is chosen in the interval [-pi,pi]. +The imaginary part of y is chosen in the interval [\-pi,pi]. .LP One has clog(z) = log(cabs(z))+I*carg(z). .LP diff --git a/man3/csinh.3 b/man3/csinh.3 index d2c7d04a5f..3f775a218f 100644 --- a/man3/csinh.3 +++ b/man3/csinh.3 @@ -16,7 +16,7 @@ csinh, csinhf, csinhl \- complex hyperbolic sine Link with \-lm. .SH DESCRIPTION The complex hyperbolic sine function sinh(z) is defined as -(exp(z)-exp(\-z))/2. +(exp(z)\-exp(\-z))/2. .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/getgrouplist.3 b/man3/getgrouplist.3 index eb68be394c..c47cef92ab 100644 --- a/man3/getgrouplist.3 +++ b/man3/getgrouplist.3 @@ -32,7 +32,7 @@ If .RI * ngroups is smaller than the total number of groups found, then .B getgrouplist() -returns a value of `-1'. +returns a value of `\-1'. In all cases the actual number of groups is stored in .RI * ngroups . .SH BUGS diff --git a/man3/getutent.3 b/man3/getutent.3 index 128577562c..7a636b5f88 100644 --- a/man3/getutent.3 +++ b/man3/getutent.3 @@ -128,10 +128,10 @@ int main(int argc, char *argv[]) entry.ut_type=USER_PROCESS; entry.ut_pid=getpid(); strcpy(entry.ut_line,ttyname(0)+strlen("/dev/")); - /* only correct for ptys named /dev/tty[pqr][0-9a-z] */ + /* only correct for ptys named /dev/tty[pqr][0\-9a\-z] */ strcpy(entry.ut_id,ttyname(0)+strlen("/dev/tty")); time(&entry.ut_time); - strcpy(entry.ut_user,getpwuid(getuid())->pw_name); + strcpy(entry.ut_user,getpwuid(getuid())\->pw_name); memset(entry.ut_host,0,UT_HOSTSIZE); entry.ut_addr=0; setutent(); diff --git a/man3/glob.3 b/man3/glob.3 index 029f38b467..025c3bacf9 100644 --- a/man3/glob.3 +++ b/man3/glob.3 @@ -217,7 +217,7 @@ globbuf.gl_offs = 2; glob("*.c", GLOB_DOOFFS, NULL, &globbuf); glob("../*.c", GLOB_DOOFFS | GLOB_APPEND, NULL, &globbuf); globbuf.gl_pathv[0] = "ls"; -globbuf.gl_pathv[1] = "-l"; +globbuf.gl_pathv[1] = "\-l"; execvp("ls", &globbuf.gl_pathv[0]); .fi .SH "CONFORMING TO" diff --git a/man3/printf.3 b/man3/printf.3 index 59cdc7d887..6876a4646d 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -318,7 +318,7 @@ Instead of a decimal digit string one may write `*' or `*m$' is given in the next argument, or in the m-th argument, respectively, which must be of type .IR int . -A negative field width is taken as a `-' flag followed by a +A negative field width is taken as a `\-' flag followed by a positive field width. In no case does a non-existent or small field width cause truncation of a field; if the result of a conversion is wider than the field width, the @@ -562,10 +562,10 @@ If a decimal point appears, at least one digit appears before it. (The SUSv2 does not know about .B F and says that character string representations for infinity and NaN -may be made available. The C99 standard specifies `[-]inf' or `[-]infinity' +may be made available. The C99 standard specifies `[\-]inf' or `[\-]infinity' for infinity, and a string starting with `nan' for NaN, in the case of .B f -conversion, and `[-]INF' or `[-]INFINITY' or `NAN*' in the case of +conversion, and `[\-]INF' or `[\-]INFINITY' or `NAN*' in the case of .B F conversion.) .TP @@ -598,7 +598,7 @@ conversion, the .I double argument is converted to hexadecimal notation (using the letters abcdef) in the style -.BR "" [-] 0x h \&. hhhh p \\*(Pmd; +.BR "" [\-] 0x h \&. hhhh p \\*(Pmd; for .B A conversion the prefix diff --git a/man3/scandir.3 b/man3/scandir.3 index f11c96fddf..443b5e029a 100644 --- a/man3/scandir.3 +++ b/man3/scandir.3 @@ -67,7 +67,7 @@ The former sorts directory entries using .BR strcoll (3), the latter using .BR strvers\%cmp (3) -on the strings \fI(*a)->d_name\fP and \fI(*b)->d_name\fP. +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 selected or \-1 if an error occurs. diff --git a/man3/scanf.3 b/man3/scanf.3 index 74b98bfd91..be1ccedcd3 100644 --- a/man3/scanf.3 +++ b/man3/scanf.3 @@ -300,10 +300,10 @@ circumflex To include a close bracket in the set, make it the first character after the open bracket or the circumflex; any other position will end the set. The hyphen character -.B - +.B \- is also special; when placed between two other characters, it adds all intervening characters to the set. To include a hyphen, make it the last -character before the final close bracket. For instance, `[^]0-9-]' means +character before the final close bracket. For instance, `[^]0\-9-\]' means the set `everything except close bracket, zero through nine, and hyphen'. The string ends with the appearance of a character not in the (or, with a circumflex, in) set or when the field width runs out. diff --git a/man3/strfmon.3 b/man3/strfmon.3 index 9a87a08f36..3e3102b0b8 100644 --- a/man3/strfmon.3 +++ b/man3/strfmon.3 @@ -55,7 +55,7 @@ for the current locale. By default, grouping is enabled. The ( flag indicates that negative amounts should be enclosed between parentheses. The + flag indicates that signs should be handled in the default way, that is, amounts are preceded by the locale's -sign indication, e.g., nothing for positive, "-" for negative. +sign indication, e.g., nothing for positive, "\-" for negative. .TP .BR ! Omit the currency symbol. diff --git a/man3/strtod.3 b/man3/strtod.3 index a0be27c9f1..9dce833091 100644 --- a/man3/strtod.3 +++ b/man3/strtod.3 @@ -72,7 +72,7 @@ representation, respectively. The expected form of the (initial portion of the) string is optional leading white space as recognized by \fIis\%space\fP(3), -an optional plus (``+'') or minus sign (``-'') and then either +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). .LP diff --git a/man3/strtol.3 b/man3/strtol.3 index e05cef1452..eb70e6dc3c 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -47,7 +47,7 @@ which must be between 2 and 36 inclusive, or be the special value 0. The string must begin with an arbitrary amount of white space (as determined by .BR isspace (3)) -followed by a single optional `+' or `-' +followed by a single optional `+' or `\-' sign. If \fIbase\fP is zero or 16, the string may then include a `0x' prefix, and the number will be read in base 16; otherwise, a zero \fIbase\fP is taken as 10 (decimal) unless the next character diff --git a/man3/strtoul.3 b/man3/strtoul.3 index a2cd1e33f6..fbbecf72b5 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -50,7 +50,7 @@ the special value 0. The string must begin with an arbitrary amount of white space (as determined by .BR isspace (3)) -followed by a single optional `+' or `-' +followed by a single optional `+' or `\-' sign. If \fIbase\fP is zero or 16, the string may then include a `0x' prefix, and the number will be read in base 16; otherwise, a zero \fIbase\fP is taken as 10 (decimal) unless the next character diff --git a/man3/tgamma.3 b/man3/tgamma.3 index dc4b2098dd..4c9af08af4 100644 --- a/man3/tgamma.3 +++ b/man3/tgamma.3 @@ -19,7 +19,7 @@ Compile with \-std=c99; link with \-lm. .SH DESCRIPTION The Gamma function is defined by .sp - Gamma(x) = integral from 0 to infinity of t^(x-1) e^-t dt + 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. For nonnegative integral \fIm\fP one has @@ -33,7 +33,7 @@ and, more generally, for all \fIx\fP: Furthermore, the following is valid for all values of \fIx\fP outside the poles: .sp - Gamma(x) * Gamma(1-x) = PI/sin(PI*x) + Gamma(x) * Gamma(1\-x) = PI/sin(PI*x) .PP This function returns the value of the Gamma function for the argument \fIx\fP. It had to be called "true gamma function" diff --git a/man3/ttyslot.3 b/man3/ttyslot.3 index 4b25700627..a40e90d289 100644 --- a/man3/ttyslot.3 +++ b/man3/ttyslot.3 @@ -50,8 +50,8 @@ The first character was either '0' or '1', where '0' meant "ignore". The second character denoted the terminal: '8' stood for "/dev/tty8". The third character was an argument to .BR getty (8) -indicating the sequence of line speeds to try ('-' was: start trying -110 baud). Thus a typical line was "18-". +indicating the sequence of line speeds to try ('\-' was: start trying +110 baud). Thus a typical line was "18\-". A hang on some line was solved by changing the '1' to a '0', signalling init, changing back again, and signalling init again. .LP diff --git a/man3/wordexp.3 b/man3/wordexp.3 index 8805397211..13244c17ca 100644 --- a/man3/wordexp.3 +++ b/man3/wordexp.3 @@ -119,7 +119,7 @@ by the output of command), arithmetic expansion, field splitting, wildcard expansion, quote removal. .LP The result of expansion of special parameters -($@, $*, $#, $?, $-, $$, $!, $0) is unspecified. +($@, $*, $#, $?, $\-, $$, $!, $0) is unspecified. .LP Field splitting is done using the environment variable $IFS. If it is not set, the field separators are space, tab and newline. |
