aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/brk.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/brk.2')
-rw-r--r--lib/libc/sys/brk.28
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2
index 2683fb48c090..e1053f3c0edc 100644
--- a/lib/libc/sys/brk.2
+++ b/lib/libc/sys/brk.2
@@ -128,9 +128,11 @@ is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
+The
.Fn brk
-or
+and
.Fn sbrk
+functions
will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
@@ -167,7 +169,7 @@ from a failure caused by exceeding the maximum size of
the data segment without consulting
.Xr getrlimit 2 .
.Sh HISTORY
-A
+The
.Fn brk
-function call appeared in
+function appeared in
.At v7 .