diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-12-29 14:45:07 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-12-29 14:45:07 +0000 |
| commit | f796e00479b092a85a79b04ac4015f11f85e483d (patch) | |
| tree | 386058719747192ff0edc6e7093656cd8ba4a910 /lib/libc/stdlib | |
| parent | 248ebf7c840bb8b426f01faa521d6badbfa797ba (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/getopt.3 | 4 | ||||
| -rw-r--r-- | lib/libc/stdlib/malloc.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdlib/strtod.3 | 1 | ||||
| -rw-r--r-- | lib/libc/stdlib/strtol.3 | 1 | ||||
| -rw-r--r-- | lib/libc/stdlib/strtoul.3 | 1 | ||||
| -rw-r--r-- | lib/libc/stdlib/tsearch.3 | 8 |
6 files changed, 9 insertions, 8 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index 161492437189..7d8047260c10 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -125,7 +125,7 @@ The function returns \-1 when the argument list is exhausted, or -.Ql ? +.Ql ?\& if a non-recognized option is encountered. The interpretation of options in the argument list may be cancelled @@ -147,7 +147,7 @@ or detects a missing option argument it writes an error message to the .Em stderr and returns -.Ql ? . +.Ql ?\& . Setting .Va opterr to a zero will disable these error messages. diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index 6fa4f847fb37..c23d4c494863 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -261,6 +261,7 @@ If the environment variable .Ev MALLOC_OPTIONS is set, the characters it contains will be interpreted as flags to the allocation functions. +.El .Sh RETURN VALUES The .Fn malloc @@ -420,6 +421,7 @@ An unknown option was specified. Even with the .Dq A option set, this warning is still only a warning. +.El .Sh SEE ALSO .Xr brk 2 , .Xr alloca 3 , diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3 index 6a2dc52b1577..1d86a77f9ea4 100644 --- a/lib/libc/stdlib/strtod.3 +++ b/lib/libc/stdlib/strtod.3 @@ -102,6 +102,7 @@ is stored in .Bl -tag -width Er .It Bq Er ERANGE Overflow or underflow occurred. +.El .Sh SEE ALSO .Xr atof 3 , .Xr atoi 3 , diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3 index 3107676b7cf9..efa4385f164e 100644 --- a/lib/libc/stdlib/strtol.3 +++ b/lib/libc/stdlib/strtol.3 @@ -49,7 +49,6 @@ .Fd #include <limits.h> .Ft long .Fn strtol "const char *nptr" "char **endptr" "int base" - .Fd #include <sys/types.h> .Fd #include <stdlib.h> .Fd #include <limits.h> diff --git a/lib/libc/stdlib/strtoul.3 b/lib/libc/stdlib/strtoul.3 index 6670d55bcf7f..1bde3e931204 100644 --- a/lib/libc/stdlib/strtoul.3 +++ b/lib/libc/stdlib/strtoul.3 @@ -49,7 +49,6 @@ .Fd #include <limits.h> .Ft unsigned long .Fn strtoul "const char *nptr" "char **endptr" "int base" - .Fd #include <sys/types.h> .Fd #include <stdlib.h> .Fd #include <limits.h> diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3 index 4dcf658cadca..051eea4c7031 100644 --- a/lib/libc/stdlib/tsearch.3 +++ b/lib/libc/stdlib/tsearch.3 @@ -36,11 +36,11 @@ .Sh SYNOPSIS .Fd #include <search.h> .Ft void * -.Fn tdelete "const void *key" "void **rootp", "int (*compar) (const void *, const void *)" +.Fn tdelete "const void *key" "void **rootp" "int (*compar) (const void *, const void *)" .Ft void * -.Fn tfind "const void *key" "const void **rootp", "int (*compar) (const void *, const void *)" +.Fn tfind "const void *key" "const void **rootp" "int (*compar) (const void *, const void *)" .Ft void * -.Fn tsearch "const void *key", "void **rootp", "int (*compar) (const void *, const void *)" +.Fn tsearch "const void *key" "void **rootp" "int (*compar) (const void *, const void *)" .Ft void .Fn twalk "const void *root" "void (*compar) (const void *, VISIT, int)" .Sh DESCRIPTION @@ -85,7 +85,7 @@ will be adjusted. .Pp .Fn Twalk walks the binary search tree rooted in -.fa root +.Fa root and calls the function .Fa action on each node. |
