From cb6a6ba22134c34fc895078e36e6b3c4e8dcf002 Mon Sep 17 00:00:00 2001 From: tholo Date: Sun, 2 Feb 1997 00:16:32 +0000 Subject: [PATCH] Correct type of brk(), use , reference mmap(2); from NetBSD --- lib/libc/sys/brk.2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.20.1