Rename the DIAGNOSTICS sections in several man pages

to RETURN VALUES like they should be.
This commit is contained in:
Mike Pritchard 1997-01-12 00:09:02 +00:00
parent 65eabc3424
commit 0604e65367
6 changed files with 7 additions and 7 deletions

View File

@ -77,7 +77,7 @@ Before returning,
.Fn getpeername
unlocks
.Va s .
.Sh DIAGNOSTICS
.Sh RETURN VALUES
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:

View File

@ -75,7 +75,7 @@ Before returning,
.Fn getsockname
unlocks
.Va fd .
.Sh DIAGNOSTICS
.Sh RETURN VALUES
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:

View File

@ -46,7 +46,7 @@ their error returns, and other common definitions and concepts.
.\".Sy System call restart
.\".Pp
.\"<more later...>
.Sh DIAGNOSTICS
.Sh RETURN VALUES
Nearly all of the system calls provide an error number referenced via
the external identifier errno. This identifier is defined in
.Aq Pa sys/errno.h

View File

@ -57,7 +57,7 @@ is 1, further sends will be disallowed.
If
.Fa how
is 2, further sends and receives will be disallowed.
.Sh DIAGNOSTICS
.Sh RETURN VALUES
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:

View File

@ -58,7 +58,7 @@ are returned in
and
.Fa sv Ns [1] .
The two sockets are indistinguishable.
.Sh DIAGNOSTICS
.Sh RETURN VALUES
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)vfork.2 8.1 (Berkeley) 6/4/93
.\" $Id$
.\" $Id: vfork.2,v 1.5 1996/12/23 23:09:41 wosch Exp $
.\"
.Dd June 4, 1993
.Dt VFORK 2
@ -94,7 +94,7 @@ since buffered data would then be flushed twice.)
.Xr fork 2 ,
.Xr sigvec 2 ,
.Xr wait 2
.Sh DIAGNOSTICS
.Sh RETURN VALUES
Same as for
.Xr fork 2 .
.Sh BUGS