summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-09-08 22:51:00 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-09-08 22:51:00 +0000
commitfce40cba3eff454b62055386fbe738629bdd74c9 (patch)
tree0482d5412c56d49160729376efada136140dce9c /lib/libc
parentc61972a58d02e96dc29628fd3bcaa2d76bd18db1 (diff)
sbrk(2) already existed in Version 4 AT&T UNIX;
source: https://minnie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man2/break.2 pointed out by Sevan Janiyan <venture37 at geeklan dot co dot uk>
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/brk.212
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2
index 73fc74a5732..970e4217907 100644
--- a/lib/libc/sys/brk.2
+++ b/lib/libc/sys/brk.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: brk.2,v 1.23 2019/09/07 10:28:27 schwarze Exp $
+.\" $OpenBSD: brk.2,v 1.24 2019/09/08 22:50:59 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: September 7 2019 $
+.Dd $Mdocdate: September 8 2019 $
.Dt BRK 2
.Os
.Sh NAME
@@ -140,10 +140,12 @@ A predecessor
appeared in
.At v1 .
The
-.Fn brk
-and
.Fn sbrk
-function calls first appeared in
+function call first appeared in
+.At v4
+and
+.Fn brk
+in
.At v6 .
.Sh BUGS
Setting the break may fail due to a temporary lack of swap space.