summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
committerru <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
commit69224c0edd32d46efbcdb9ad329891e820f0898a (patch)
tree65bbba65df60768dc6db7a914e08a7bc71bc3e5a /lib/libc/stdlib
parent0cdbf7e134168f454f352752441a010d764e8cd0 (diff)
downloadFreeBSD-src-69224c0edd32d46efbcdb9ad329891e820f0898a.zip
FreeBSD-src-69224c0edd32d46efbcdb9ad329891e820f0898a.tar.gz
Use ``.Rv -std'' wherever possible.
Submitted by: yar
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/getenv.39
-rw-r--r--lib/libc/stdlib/qsort.39
2 files changed, 2 insertions, 16 deletions
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3
index a0feb2b..7f73af7 100644
--- a/lib/libc/stdlib/getenv.3
+++ b/lib/libc/stdlib/getenv.3
@@ -114,14 +114,7 @@ deletes all instances of the variable name pointed to by
.Fa name
from the list.
.Sh RETURN VALUES
-The functions
-.Fn setenv
-and
-.Fn putenv
-return zero if successful; otherwise the global variable
-.Va errno
-is set to indicate the error and a
-\-1 is returned.
+.Rv -std setenv putenv
.Sh ERRORS
.Bl -tag -width Er
.It Bq Er ENOMEM
diff --git a/lib/libc/stdlib/qsort.3 b/lib/libc/stdlib/qsort.3
index da4df56..cc62a8c 100644
--- a/lib/libc/stdlib/qsort.3
+++ b/lib/libc/stdlib/qsort.3
@@ -154,14 +154,7 @@ The
function
returns no value.
.Pp
-Upon successful completion,
-.Fn heapsort
-and
-.Fn mergesort
-return 0.
-Otherwise, they return \-1 and the global variable
-.Va errno
-is set to indicate the error.
+.Rv -std heapsort mergesort
.Sh ERRORS
The
.Fn heapsort
OpenPOWER on IntegriCloud