summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1997-01-12 00:09:02 +0000
committerMike Pritchard <mpp@FreeBSD.org>1997-01-12 00:09:02 +0000
commit0604e6536759d29a6059e9ec70308c086cfc95d8 (patch)
tree77d2de960421a43695e230fcde25d695ac5416c9 /lib/libc
parent65eabc34243643afc09828ecfff13b4fc925338c (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getpeername.22
-rw-r--r--lib/libc/sys/getsockname.22
-rw-r--r--lib/libc/sys/intro.22
-rw-r--r--lib/libc/sys/shutdown.22
-rw-r--r--lib/libc/sys/socketpair.22
-rw-r--r--lib/libc/sys/vfork.24
6 files changed, 7 insertions, 7 deletions
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
.\"<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
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