aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-08-31 10:15:17 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-08-31 10:15:17 +0000
commit6f880418e38c3abc8b961350811214d45e299463 (patch)
tree8924fd3cfca4cbc3620fad2b817c80f272caec81 /lib/libc/stdlib
parent75b041abd276781a59665d2d5bc4afcfce8a957d (diff)
Notes
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 a0feb2bf60c3..7f73af761cf0 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 da4df561f565..cc62a8c71635 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