From 0604e6536759d29a6059e9ec70308c086cfc95d8 Mon Sep 17 00:00:00 2001 From: Mike Pritchard Date: Sun, 12 Jan 1997 00:09:02 +0000 Subject: Rename the DIAGNOSTICS sections in several man pages to RETURN VALUES like they should be. --- lib/libc/sys/getpeername.2 | 2 +- lib/libc/sys/getsockname.2 | 2 +- lib/libc/sys/intro.2 | 2 +- lib/libc/sys/shutdown.2 | 2 +- lib/libc/sys/socketpair.2 | 2 +- lib/libc/sys/vfork.2 | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'lib') diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2 index 372d85afdece..abfe0c9c33d7 100644 --- a/lib/libc/sys/getpeername.2 +++ b/lib/libc/sys/getpeername.2 @@ -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: diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index c8d761f0b5de..df650cb918ed 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -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: diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index 4e728bbf0208..af9664cea08c 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -46,7 +46,7 @@ their error returns, and other common definitions and concepts. .\".Sy System call restart .\".Pp .\" -.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 diff --git a/lib/libc/sys/shutdown.2 b/lib/libc/sys/shutdown.2 index 6c159e94d3f3..30597939cc1f 100644 --- a/lib/libc/sys/shutdown.2 +++ b/lib/libc/sys/shutdown.2 @@ -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: diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2 index 5f697b48e887..f48e496b9902 100644 --- a/lib/libc/sys/socketpair.2 +++ b/lib/libc/sys/socketpair.2 @@ -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: diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2 index 4c1ed93fd405..3e490146c70e 100644 --- a/lib/libc/sys/vfork.2 +++ b/lib/libc/sys/vfork.2 @@ -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 -- cgit v1.3