aboutsummaryrefslogtreecommitdiffstats
path: root/man7/socket.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/socket.7')
-rw-r--r--man7/socket.715
1 files changed, 6 insertions, 9 deletions
diff --git a/man7/socket.7 b/man7/socket.7
index 41b37f1b44..947bdd7771 100644
--- a/man7/socket.7
+++ b/man7/socket.7
@@ -14,10 +14,7 @@
.\" Added notes on capability requirements
.\" A few small grammar fixes
.\"
-.\" FIXME probably all PF_* should be AF_* in this page, since
-.\" POSIX only specifies the latter values.
-.\"
-.TH SOCKET 7 2007-12-28 Linux "Linux Programmer's Manual"
+.TH SOCKET 7 2008-08-08 Linux "Linux Programmer's Manual"
.SH NAME
socket \- Linux socket interface
.SH SYNOPSIS
@@ -33,7 +30,7 @@ between the user process and the network protocol stacks in the kernel.
The protocol modules are grouped into
.I protocol families
like
-.BR PF_INET ", " PF_IPX ", " PF_PACKET
+.BR AF_INET ", " AF_IPX ", " AF_PACKET
and
.I socket types
like
@@ -62,7 +59,7 @@ is used to get a new socket with a new incoming connection.
.BR socketpair (2)
returns two connected anonymous sockets (only implemented for a few
local families like
-.BR PF_UNIX )
+.BR AF_UNIX )
.PP
.BR send (2),
.BR sendto (2),
@@ -327,9 +324,9 @@ For more information see
.B SO_PEERCRED
Return the credentials of the foreign process connected to this socket.
This is only possible for connected
-.B PF_UNIX
+.B AF_UNIX
stream sockets and
-.B PF_UNIX
+.B AF_UNIX
stream and datagram socket pairs created using
.BR socketpair (2);
see
@@ -447,7 +444,7 @@ Indicates that the rules used in validating addresses supplied in a
.BR bind (2)
call should allow reuse of local addresses.
For
-.B PF_INET
+.B AF_INET
sockets this
means that a socket may bind, except when there
is an active listening socket bound to the address.