diff options
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 |
5 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index d8beee2..f5c145f 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 0928f94..7568229 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 @@ -428,6 +429,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 6a2dc52..1d86a77 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 3107676..efa4385 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 6670d55..1bde3e9 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> |