add note about finding the end of memory
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 18 Jun 1986 01:26:59 +0000 (17:26 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 18 Jun 1986 01:26:59 +0000 (17:26 -0800)
SCCS-vsn: lib/libc/sys/brk.2 6.4

usr/src/lib/libc/sys/brk.2

index 6ca21d6..b85991d 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)brk.2       6.3 (Berkeley) %G%
+.\"    @(#)brk.2       6.4 (Berkeley) %G%
 .\"
 .TH BRK 2 ""
 .UC 4
 .\"
 .TH BRK 2 ""
 .UC 4
@@ -49,6 +49,9 @@ Ordinarily, therefore, only programs with growing
 data areas need to use
 .IR sbrk .
 .PP
 data areas need to use
 .IR sbrk .
 .PP
+The current value of the program break is reliably returned by
+``sbrk(0)'' (see also 
+.IR end (3)).
 The
 .IR getrlimit (2)
 system call may be used to determine
 The
 .IR getrlimit (2)
 system call may be used to determine