Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Document sbrk() history and adjust brk()'s.
details: https://anonhg.NetBSD.org/src/rev/d163fa76aa52
branches: trunk
changeset: 1003262:d163fa76aa52
user: sevan <sevan%NetBSD.org@localhost>
date: Sat Sep 07 11:59:42 2019 +0000
description:
Document sbrk() history and adjust brk()'s.
via Ingo Schwarze <schwarze@OpenBSD>
diffstat:
lib/libc/sys/brk.2 | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r e6f6e1d4ffa3 -r d163fa76aa52 lib/libc/sys/brk.2
--- a/lib/libc/sys/brk.2 Sat Sep 07 11:57:08 2019 +0000
+++ b/lib/libc/sys/brk.2 Sat Sep 07 11:59:42 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: brk.2,v 1.34 2016/08/28 05:07:50 wiz Exp $
+.\" $NetBSD: brk.2,v 1.35 2019/09/07 11:59:42 sevan Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)brk.2 8.4 (Berkeley) 5/1/95
.\"
-.Dd August 27, 2016
+.Dd September 7, 2019
.Dt BRK 2
.Os
.Sh NAME
@@ -198,10 +198,14 @@
.Xr malloc 3 ,
.Xr sysconf 3
.Sh HISTORY
+An
+.Fn sbrk
+function call appeared in
+.At v4.
A
.Fn brk
function call appeared in
-.At v7 .
+.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
Home |
Main Index |
Thread Index |
Old Index