From 4263595653697b5431b4e2d75ce462b2353f2216 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 29 Dec 2000 14:08:20 +0000 Subject: Prepare for mdoc(7)NG. --- lib/libc/stdlib/getopt.3 | 4 ++-- lib/libc/stdlib/malloc.3 | 2 ++ lib/libc/stdlib/strtod.3 | 1 + lib/libc/stdlib/strtol.3 | 1 - lib/libc/stdlib/strtoul.3 | 1 - 5 files changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/libc/stdlib') diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index d8beee2e2b34..f5c145f8a2a1 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 0928f94c7cb4..75682295655b 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 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 .Ft long .Fn strtol "const char *nptr" "char **endptr" "int base" - .Fd #include .Fd #include .Fd #include 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 .Ft unsigned long .Fn strtoul "const char *nptr" "char **endptr" "int base" - .Fd #include .Fd #include .Fd #include -- cgit v1.3