summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-09-07 10:28:28 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-09-07 10:28:28 +0000
commit966eb1e7e2cb4dd0cc69a908a943acfbb56b0736 (patch)
treedf85b49979642d45898f616f4aa909c542cf1e78 /lib/libc/sys
parent51f88e7839504fb1b2084759b179a8d06099d5cf (diff)
more Version 1 AT&T UNIX history:
a few cases that weren't altogether straightforward; tweak and OK jmc@, OK sobrado@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/brk.216
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2
index 96d827611ec..73fc74a5732 100644
--- a/lib/libc/sys/brk.2
+++ b/lib/libc/sys/brk.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: brk.2,v 1.22 2015/10/11 07:53:49 guenther Exp $
+.\" $OpenBSD: brk.2,v 1.23 2019/09/07 10:28:27 schwarze Exp $
.\" $NetBSD: brk.2,v 1.7 1995/02/27 12:31:57 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)brk.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: October 11 2015 $
+.Dd $Mdocdate: September 7 2019 $
.Dt BRK 2
.Os
.Sh NAME
@@ -135,10 +135,16 @@ to support the expansion.
.Xr end 3 ,
.Xr malloc 3
.Sh HISTORY
-A
+A predecessor
+.Fn break
+appeared in
+.At v1 .
+The
.Fn brk
-function call appeared in
-.At v7 .
+and
+.Fn sbrk
+function calls first appeared in
+.At v6 .
.Sh BUGS
Setting the break may fail due to a temporary lack of swap space.
It is not possible to distinguish this from a failure caused by exceeding