summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorfair <fair@NetBSD.org>1998-04-29 19:19:15 +0000
committerfair <fair@NetBSD.org>1998-04-29 19:19:15 +0000
commitebfcc842c8c6d1880d7cfe3a32eceb6ff2654475 (patch)
treef045bbaefec7bc3f3b5211a95eb9c8d1798075b3 /lib/libc/sys
parentf6f1a1889b6e33aaf1736b8110cd2a2bef4d7e0f (diff)
Fix bad .Xr and some .Nm abuse
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/brk.212
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2
index 281d8734af8..afd4b05e62e 100644
--- a/lib/libc/sys/brk.2
+++ b/lib/libc/sys/brk.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: brk.2,v 1.11 1998/04/28 22:28:30 fair Exp $
+.\" $NetBSD: brk.2,v 1.12 1998/04/29 19:19:15 fair Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -83,7 +83,7 @@ to the next page boundary.
.\" .Nm sbrk .
.\" .Pp
The current value of the program break is reliably returned by
-.Dq Li sbrk(0)
+.Fn sbrk 0
(see also
.Xr end 3 ) .
The
@@ -104,21 +104,21 @@ e.g.
for the definition of
.Em etext ) .
.Sh RETURN VALUES
-.Nm brk
+.Fn brk
returns 0 if successful;
otherwise -1 with
.Va errno
set to indicate why the allocation failed.
The
-.Nm sbrk
+.Fn sbrk
function returns a pointer to the base of the new storage if successful;
otherwise -1 with
.Va errno
set to indicate why the allocation failed.
.Sh ERRORS
-.Xr brk
+.Fn brk
or
-.Xr sbrk
+.Fn sbrk
will fail and no additional memory will be allocated if
one of the following are true:
.Bl -tag -width Er