diff options
author | jmc <> | 2003-05-10 06:48:30 +0000 |
---|---|---|
committer | jmc <> | 2003-05-10 06:48:30 +0000 |
commit | a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c (patch) | |
tree | 22b80bac9235d6cfd7ecd40565621a27f24d5d70 | |
parent | 82f8b639e5cb43bb235ee24ece27ef61cd1a03fa (diff) | |
download | openbsd-a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c.tar.gz openbsd-a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c.tar.bz2 openbsd-a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c.zip |
typos;
-rw-r--r-- | src/lib/libc/stdlib/a64l.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/ecvt.3 | 2 | ||||
-rw-r--r-- | src/lib/libc/stdlib/exit.3 | 3 | ||||
-rw-r--r-- | src/lib/libc/stdlib/getopt.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/getopt_long.3 | 16 | ||||
-rw-r--r-- | src/lib/libc/stdlib/getsubopt.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/qsort.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/rand48.3 | 10 | ||||
-rw-r--r-- | src/lib/libc/stdlib/random.3 | 8 | ||||
-rw-r--r-- | src/lib/libc/stdlib/strtol.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/strtoul.3 | 4 |
11 files changed, 32 insertions, 31 deletions
diff --git a/src/lib/libc/stdlib/a64l.3 b/src/lib/libc/stdlib/a64l.3 index 787634303c..6b9fd23154 100644 --- a/src/lib/libc/stdlib/a64l.3 +++ b/src/lib/libc/stdlib/a64l.3 | |||
@@ -23,7 +23,7 @@ | |||
23 | .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 23 | .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
24 | .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 | .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 | .\" | 25 | .\" |
26 | .\" $OpenBSD: a64l.3,v 1.5 2000/04/20 13:50:01 aaron Exp $ | 26 | .\" $OpenBSD: a64l.3,v 1.6 2003/05/10 06:48:30 jmc Exp $ |
27 | .\" | 27 | .\" |
28 | .Dd August 17, 1997 | 28 | .Dd August 17, 1997 |
29 | .Dt A64L 3 | 29 | .Dt A64L 3 |
@@ -95,7 +95,7 @@ returns a 32-bit representation of | |||
95 | .Fa s . | 95 | .Fa s . |
96 | If | 96 | If |
97 | .Fa s | 97 | .Fa s |
98 | is a null pointer or if it contains digits other than those described above. | 98 | is a null pointer or if it contains digits other than those described above, |
99 | .Fn a64l | 99 | .Fn a64l |
100 | returns \-1 and sets the global variable | 100 | returns \-1 and sets the global variable |
101 | .Va errno | 101 | .Va errno |
diff --git a/src/lib/libc/stdlib/ecvt.3 b/src/lib/libc/stdlib/ecvt.3 index 1ff9a4f61b..64559ec09e 100644 --- a/src/lib/libc/stdlib/ecvt.3 +++ b/src/lib/libc/stdlib/ecvt.3 | |||
@@ -117,7 +117,7 @@ significant digits similar to the %f | |||
117 | .Xr printf 3 | 117 | .Xr printf 3 |
118 | format specifier where possible. | 118 | format specifier where possible. |
119 | If | 119 | If |
120 | .Fa ndigit | 120 | .Fa ndigit |
121 | does allow sufficient precision, the result is stored in | 121 | does allow sufficient precision, the result is stored in |
122 | exponential notation similar to the %e | 122 | exponential notation similar to the %e |
123 | .Xr printf 3 | 123 | .Xr printf 3 |
diff --git a/src/lib/libc/stdlib/exit.3 b/src/lib/libc/stdlib/exit.3 index 68752bb0cd..fb499e0946 100644 --- a/src/lib/libc/stdlib/exit.3 +++ b/src/lib/libc/stdlib/exit.3 | |||
@@ -33,7 +33,7 @@ | |||
33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: exit.3,v 1.7 2003/03/06 19:54:52 jmc Exp $ | 36 | .\" $OpenBSD: exit.3,v 1.8 2003/05/10 06:48:30 jmc Exp $ |
37 | .\" | 37 | .\" |
38 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 |
39 | .Dt EXIT 3 | 39 | .Dt EXIT 3 |
@@ -66,6 +66,7 @@ Unlink all files created with the | |||
66 | .Xr tmpfile 3 | 66 | .Xr tmpfile 3 |
67 | function. | 67 | function. |
68 | .El | 68 | .El |
69 | .Pp | ||
69 | Following this, | 70 | Following this, |
70 | .Fn exit | 71 | .Fn exit |
71 | calls | 72 | calls |
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index e16a11dfee..d25b497035 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 | |||
@@ -29,7 +29,7 @@ | |||
29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
31 | .\" | 31 | .\" |
32 | .\" $OpenBSD: getopt.3,v 1.21 2003/04/10 17:05:08 jsyn Exp $ | 32 | .\" $OpenBSD: getopt.3,v 1.22 2003/05/10 06:48:30 jmc Exp $ |
33 | .\" | 33 | .\" |
34 | .Dd December 8, 2002 | 34 | .Dd December 8, 2002 |
35 | .Dt GETOPT 3 | 35 | .Dt GETOPT 3 |
@@ -244,7 +244,7 @@ as an option flag. | |||
244 | This practice is wrong, and should not be used in any current development. | 244 | This practice is wrong, and should not be used in any current development. |
245 | It is provided for backward compatibility | 245 | It is provided for backward compatibility |
246 | .Em only . | 246 | .Em only . |
247 | Care should be taken to not to use | 247 | Care should be taken not to use |
248 | .Ql - | 248 | .Ql - |
249 | as the first character in | 249 | as the first character in |
250 | .Fa optstring | 250 | .Fa optstring |
diff --git a/src/lib/libc/stdlib/getopt_long.3 b/src/lib/libc/stdlib/getopt_long.3 index 4e5923cb85..2589bd7b03 100644 --- a/src/lib/libc/stdlib/getopt_long.3 +++ b/src/lib/libc/stdlib/getopt_long.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: getopt_long.3,v 1.5 2003/02/24 03:09:07 deraadt Exp $ | 1 | .\" $OpenBSD: getopt_long.3,v 1.6 2003/05/10 06:48:30 jmc Exp $ |
2 | .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ | 2 | .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ |
3 | .\" | 3 | .\" |
4 | .\" Copyright (c) 1988, 1991, 1993 | 4 | .\" Copyright (c) 1988, 1991, 1993 |
@@ -44,10 +44,10 @@ | |||
44 | .Sh SYNOPSIS | 44 | .Sh SYNOPSIS |
45 | .Fd #include <getopt.h> | 45 | .Fd #include <getopt.h> |
46 | .Vt extern char *optarg; | 46 | .Vt extern char *optarg; |
47 | .Vt extern int optind; | 47 | .Vt extern int optind; |
48 | .Vt extern int optopt; | 48 | .Vt extern int optopt; |
49 | .Vt extern int opterr; | 49 | .Vt extern int opterr; |
50 | .Vt extern int optreset; | 50 | .Vt extern int optreset; |
51 | .Ft int | 51 | .Ft int |
52 | .Fn getopt_long "int argc" "char * const *argv" "const char *optstring" "const struct option *longopts" "int *index" | 52 | .Fn getopt_long "int argc" "char * const *argv" "const char *optstring" "const struct option *longopts" "int *index" |
53 | .Ft int | 53 | .Ft int |
@@ -241,7 +241,7 @@ arguments to option '\e1'. | |||
241 | honors POSIXLY_CORRECT and stops at the first non-option. | 241 | honors POSIXLY_CORRECT and stops at the first non-option. |
242 | .El | 242 | .El |
243 | .It Li o | 243 | .It Li o |
244 | handling of - within the option string (not the first character). | 244 | handling of - within the option string (not the first character): |
245 | .Bl -tag -width "OpenBSD" | 245 | .Bl -tag -width "OpenBSD" |
246 | .It Li GNU | 246 | .It Li GNU |
247 | treats a | 247 | treats a |
@@ -283,8 +283,8 @@ handling of --a in getopt: | |||
283 | .It Li GNU | 283 | .It Li GNU |
284 | parses this as option '-', option 'a'. | 284 | parses this as option '-', option 'a'. |
285 | .It Li OpenBSD | 285 | .It Li OpenBSD |
286 | parses this as '--', and returns -1 (ignoring the a). (Because | 286 | parses this as '--', and returns \-1 (ignoring the a). |
287 | the original getopt does.) | 287 | (Because the original getopt does.) |
288 | .El | 288 | .El |
289 | .It Li o | 289 | .It Li o |
290 | setting of optopt for long options with flag != | 290 | setting of optopt for long options with flag != |
diff --git a/src/lib/libc/stdlib/getsubopt.3 b/src/lib/libc/stdlib/getsubopt.3 index 8a17da4ea5..e2d8641016 100644 --- a/src/lib/libc/stdlib/getsubopt.3 +++ b/src/lib/libc/stdlib/getsubopt.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: getsubopt.3,v 1.5 2000/12/15 14:31:17 aaron Exp $ | 1 | .\" $OpenBSD: getsubopt.3,v 1.6 2003/05/10 06:48:30 jmc Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1990, 1991, 1993 | 3 | .\" Copyright (c) 1990, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -66,7 +66,7 @@ The | |||
66 | function returns the zero-based offset of the pointer in the | 66 | function returns the zero-based offset of the pointer in the |
67 | .Fa tokens | 67 | .Fa tokens |
68 | array referencing a string which matches the first token | 68 | array referencing a string which matches the first token |
69 | in the string, or, \-1 if the string contains no tokens or | 69 | in the string, or \-1 if the string contains no tokens or |
70 | .Fa tokens | 70 | .Fa tokens |
71 | does not contain a matching string. | 71 | does not contain a matching string. |
72 | .Pp | 72 | .Pp |
diff --git a/src/lib/libc/stdlib/qsort.3 b/src/lib/libc/stdlib/qsort.3 index 6c4eba46bf..a0561cadbe 100644 --- a/src/lib/libc/stdlib/qsort.3 +++ b/src/lib/libc/stdlib/qsort.3 | |||
@@ -33,7 +33,7 @@ | |||
33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: qsort.3,v 1.9 2002/02/23 19:51:46 miod Exp $ | 36 | .\" $OpenBSD: qsort.3,v 1.10 2003/05/10 06:48:30 jmc Exp $ |
37 | .\" | 37 | .\" |
38 | .Dd June 4, 1993 | 38 | .Dd June 4, 1993 |
39 | .Dt QSORT 3 | 39 | .Dt QSORT 3 |
@@ -185,7 +185,7 @@ were unable to allocate memory. | |||
185 | Previous versions of | 185 | Previous versions of |
186 | .Fn qsort | 186 | .Fn qsort |
187 | did not permit the comparison routine itself to call | 187 | did not permit the comparison routine itself to call |
188 | .Fn qsort 3 . | 188 | .Fn qsort . |
189 | This is no longer true. | 189 | This is no longer true. |
190 | .Sh SEE ALSO | 190 | .Sh SEE ALSO |
191 | .Xr sort 1 , | 191 | .Xr sort 1 , |
diff --git a/src/lib/libc/stdlib/rand48.3 b/src/lib/libc/stdlib/rand48.3 index 31a4fdf4dd..6b0831ead7 100644 --- a/src/lib/libc/stdlib/rand48.3 +++ b/src/lib/libc/stdlib/rand48.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | \" Copyright (c) 1993 Martin Birgmeier | 1 | .\" Copyright (c) 1993 Martin Birgmeier |
2 | .\" All rights reserved. | 2 | .\" All rights reserved. |
3 | .\" | 3 | .\" |
4 | .\" You may redistribute unmodified or modified versions of this source | 4 | .\" You may redistribute unmodified or modified versions of this source |
@@ -9,7 +9,7 @@ | |||
9 | .\" of any kind. I shall in no event be liable for anything that happens | 9 | .\" of any kind. I shall in no event be liable for anything that happens |
10 | .\" to anyone/anything when using this software. | 10 | .\" to anyone/anything when using this software. |
11 | .\" | 11 | .\" |
12 | .\" $OpenBSD: rand48.3,v 1.8 2001/08/06 10:42:26 mpech Exp $ | 12 | .\" $OpenBSD: rand48.3,v 1.9 2003/05/10 06:48:30 jmc Exp $ |
13 | .\" | 13 | .\" |
14 | .Dd October 8, 1993 | 14 | .Dd October 8, 1993 |
15 | .Dt RAND48 3 | 15 | .Dt RAND48 3 |
@@ -24,7 +24,7 @@ | |||
24 | .Nm srand48 , | 24 | .Nm srand48 , |
25 | .Nm seed48 , | 25 | .Nm seed48 , |
26 | .Nm lcong48 | 26 | .Nm lcong48 |
27 | .Nd pseudo random number generators and initialization routines | 27 | .Nd pseudo-random number generators and initialization routines |
28 | .Sh SYNOPSIS | 28 | .Sh SYNOPSIS |
29 | .Fd #include <stdlib.h> | 29 | .Fd #include <stdlib.h> |
30 | .Ft double | 30 | .Ft double |
@@ -67,7 +67,7 @@ and | |||
67 | return values of type double. | 67 | return values of type double. |
68 | The full 48 bits of r(n+1) are | 68 | The full 48 bits of r(n+1) are |
69 | loaded into the mantissa of the returned value, with the exponent set | 69 | loaded into the mantissa of the returned value, with the exponent set |
70 | such that the values produced lie in the interval [0.0, 1.0). | 70 | such that the values produced lie in the interval [0.0, 1.0]. |
71 | .Pp | 71 | .Pp |
72 | .Fn lrand48 | 72 | .Fn lrand48 |
73 | and | 73 | and |
@@ -156,7 +156,7 @@ always also set the multiplicand and addend for any of the six | |||
156 | generator calls. | 156 | generator calls. |
157 | .Pp | 157 | .Pp |
158 | For a more powerful random number generator, see | 158 | For a more powerful random number generator, see |
159 | .Xr random 3 | 159 | .Xr random 3 . |
160 | .Sh AUTHORS | 160 | .Sh AUTHORS |
161 | Martin Birgmeier | 161 | Martin Birgmeier |
162 | .Sh SEE ALSO | 162 | .Sh SEE ALSO |
diff --git a/src/lib/libc/stdlib/random.3 b/src/lib/libc/stdlib/random.3 index 3d4545651b..b98917a442 100644 --- a/src/lib/libc/stdlib/random.3 +++ b/src/lib/libc/stdlib/random.3 | |||
@@ -29,7 +29,7 @@ | |||
29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
31 | .\" | 31 | .\" |
32 | .\" $OpenBSD: random.3,v 1.14 2001/09/06 15:04:34 mpech Exp $ | 32 | .\" $OpenBSD: random.3,v 1.15 2003/05/10 06:48:30 jmc Exp $ |
33 | .\" | 33 | .\" |
34 | .Dd April 19, 1991 | 34 | .Dd April 19, 1991 |
35 | .Dt RANDOM 3 | 35 | .Dt RANDOM 3 |
@@ -60,7 +60,7 @@ function uses a non-linear additive feedback random number generator employing | |||
60 | a default table of size 31 long integers to return successive pseudo-random | 60 | a default table of size 31 long integers to return successive pseudo-random |
61 | numbers in the range from 0 to (2**31)\-1. | 61 | numbers in the range from 0 to (2**31)\-1. |
62 | The period of this random number generator is very large, approximately | 62 | The period of this random number generator is very large, approximately |
63 | 16*((2**31)\-1. | 63 | 16*((2**31)\-1). |
64 | .Pp | 64 | .Pp |
65 | The | 65 | The |
66 | .Fn random | 66 | .Fn random |
@@ -68,7 +68,7 @@ and | |||
68 | .Fn srandom | 68 | .Fn srandom |
69 | functions have (almost) the same calling sequence and initialization | 69 | functions have (almost) the same calling sequence and initialization |
70 | properties as | 70 | properties as |
71 | .Xr rand 3 Ns / Xr srand 3 . | 71 | .Xr rand 3 Ns / Ns Xr srand 3 . |
72 | The difference is that | 72 | The difference is that |
73 | .Xr rand | 73 | .Xr rand |
74 | produces a much less random sequence \(em in fact, the low dozen bits | 74 | produces a much less random sequence \(em in fact, the low dozen bits |
@@ -93,7 +93,7 @@ as the seed. | |||
93 | .Pp | 93 | .Pp |
94 | The | 94 | The |
95 | .Fn srandomdev | 95 | .Fn srandomdev |
96 | routine initialize a state array using the | 96 | routine initializes a state array using the |
97 | .Xr arandom 4 | 97 | .Xr arandom 4 |
98 | random number device which returns good random numbers, | 98 | random number device which returns good random numbers, |
99 | suitable for cryptographic use. | 99 | suitable for cryptographic use. |
diff --git a/src/lib/libc/stdlib/strtol.3 b/src/lib/libc/stdlib/strtol.3 index 7ac9f52b7a..b37f2cd725 100644 --- a/src/lib/libc/stdlib/strtol.3 +++ b/src/lib/libc/stdlib/strtol.3 | |||
@@ -33,7 +33,7 @@ | |||
33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: strtol.3,v 1.11 2002/11/21 20:54:09 millert Exp $ | 36 | .\" $OpenBSD: strtol.3,v 1.12 2003/05/10 06:48:30 jmc Exp $ |
37 | .\" | 37 | .\" |
38 | .Dd June 25, 1992 | 38 | .Dd June 25, 1992 |
39 | .Dt STRTOL 3 | 39 | .Dt STRTOL 3 |
@@ -42,7 +42,7 @@ | |||
42 | .Nm strtol , | 42 | .Nm strtol , |
43 | .Nm strtoll , | 43 | .Nm strtoll , |
44 | .Nm strtoq | 44 | .Nm strtoq |
45 | .Nd convert string value to a long or long long integer | 45 | .Nd "convert string value to a long or long long integer" |
46 | .Sh SYNOPSIS | 46 | .Sh SYNOPSIS |
47 | .Fd #include <stdlib.h> | 47 | .Fd #include <stdlib.h> |
48 | .Fd #include <limits.h> | 48 | .Fd #include <limits.h> |
diff --git a/src/lib/libc/stdlib/strtoul.3 b/src/lib/libc/stdlib/strtoul.3 index 0e804ec3f9..39de7e0656 100644 --- a/src/lib/libc/stdlib/strtoul.3 +++ b/src/lib/libc/stdlib/strtoul.3 | |||
@@ -33,7 +33,7 @@ | |||
33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: strtoul.3,v 1.13 2003/04/21 21:49:40 millert Exp $ | 36 | .\" $OpenBSD: strtoul.3,v 1.14 2003/05/10 06:48:30 jmc Exp $ |
37 | .\" | 37 | .\" |
38 | .Dd June 25, 1992 | 38 | .Dd June 25, 1992 |
39 | .Dt STRTOUL 3 | 39 | .Dt STRTOUL 3 |
@@ -42,7 +42,7 @@ | |||
42 | .Nm strtoul , | 42 | .Nm strtoul , |
43 | .Nm strtoull , | 43 | .Nm strtoull , |
44 | .Nm strtouq | 44 | .Nm strtouq |
45 | .Nd convert a string to an unsigned long or unsigned long long integer | 45 | .Nd "convert a string to an unsigned long or unsigned long long integer" |
46 | .Sh SYNOPSIS | 46 | .Sh SYNOPSIS |
47 | .Fd #include <stdlib.h> | 47 | .Fd #include <stdlib.h> |
48 | .Fd #include <limits.h> | 48 | .Fd #include <limits.h> |