Fix bad .Xr and some .Nm abuse

This commit is contained in:
fair 1998-04-29 19:19:15 +00:00
parent f6f1a1889b
commit ebfcc842c8
1 changed files with 6 additions and 6 deletions

View File

@ -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 .\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -83,7 +83,7 @@ to the next page boundary.
.\" .Nm sbrk . .\" .Nm sbrk .
.\" .Pp .\" .Pp
The current value of the program break is reliably returned by The current value of the program break is reliably returned by
.Dq Li sbrk(0) .Fn sbrk 0
(see also (see also
.Xr end 3 ) . .Xr end 3 ) .
The The
@ -104,21 +104,21 @@ e.g.
for the definition of for the definition of
.Em etext ) . .Em etext ) .
.Sh RETURN VALUES .Sh RETURN VALUES
.Nm brk .Fn brk
returns 0 if successful; returns 0 if successful;
otherwise -1 with otherwise -1 with
.Va errno .Va errno
set to indicate why the allocation failed. set to indicate why the allocation failed.
The The
.Nm sbrk .Fn sbrk
function returns a pointer to the base of the new storage if successful; function returns a pointer to the base of the new storage if successful;
otherwise -1 with otherwise -1 with
.Va errno .Va errno
set to indicate why the allocation failed. set to indicate why the allocation failed.
.Sh ERRORS .Sh ERRORS
.Xr brk .Fn brk
or or
.Xr sbrk .Fn sbrk
will fail and no additional memory will be allocated if will fail and no additional memory will be allocated if
one of the following are true: one of the following are true:
.Bl -tag -width Er .Bl -tag -width Er