aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/brk.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
commitd6002fef6feb2d8cd11929b6e0bf0d868101334b (patch)
tree65bbba65df60768dc6db7a914e08a7bc71bc3e5a /lib/libc/sys/brk.2
parent1b08f101baa4608e737d8d6e3750d2a7f04f2283 (diff)
downloadsrc-d6002fef6feb2d8cd11929b6e0bf0d868101334b.tar.gz
src-d6002fef6feb2d8cd11929b6e0bf0d868101334b.zip
Use ``.Rv -std'' wherever possible.
Submitted by: yar
Notes
Notes: svn path=/head/; revision=82642
Diffstat (limited to 'lib/libc/sys/brk.2')
-rw-r--r--lib/libc/sys/brk.211
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2
index 50c819635c6a..72e3c479a7cb 100644
--- a/lib/libc/sys/brk.2
+++ b/lib/libc/sys/brk.2
@@ -105,17 +105,14 @@ e.g.\&
for the definition of
.Va etext ) .
.Sh RETURN VALUES
-.Fn Brk
-returns 0 if successful;
-otherwise -1 with
-.Va errno
-set to indicate why the allocation failed.
+.Rv -std brk
+.Pp
The
.Fn sbrk
function returns a pointer to the base of the new storage if successful;
-otherwise -1 with
+otherwise the value \-1 is returned and the global variable
.Va errno
-set to indicate why the allocation failed.
+is set to indicate the error.
.Sh ERRORS
.Fn Brk
or