From: tholo Date: Sun, 2 Feb 1997 00:16:32 +0000 (+0000) Subject: Correct type of brk(), use , reference mmap(2); from NetBSD X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cb6a6ba22134c34fc895078e36e6b3c4e8dcf002;p=openbsd Correct type of brk(), use , reference mmap(2); from NetBSD --- diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2 index 0c3e20434e3..f580c15f685 100644 --- a/lib/libc/sys/brk.2 +++ b/lib/libc/sys/brk.2 @@ -41,8 +41,8 @@ .Nm sbrk .Nd change data segment size .Sh SYNOPSIS -.Fd #include -.Ft int +.Fd #include +.Ft char * .Fn brk "const char *addr" .Ft char * .Fn sbrk "int incr" @@ -135,6 +135,7 @@ to support the expansion. .Xr execve 2 , .Xr getrlimit 2 , .Xr malloc 3 , +.Xr mmap 2 , .Xr end 3 .Sh BUGS Setting the break may fail due to a temporary lack of