diff options
Diffstat (limited to 'man7/unix.7')
| -rw-r--r-- | man7/unix.7 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/man7/unix.7 b/man7/unix.7 index 3f66b37427..4fbe28ae62 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -12,23 +12,23 @@ .\" address that can appear in the sockaddr_un structure: pathname, .\" unnamed, and abstract. .\" -.TH UNIX 7 2008-06-17 "Linux" "Linux Programmer's Manual" +.TH UNIX 7 2008-08-08 "Linux" "Linux Programmer's Manual" .SH NAME -unix, PF_UNIX, AF_UNIX, PF_LOCAL, AF_LOCAL \- Sockets for local +unix, AF_UNIX, AF_LOCAL \- Sockets for local interprocess communication .SH SYNOPSIS .B #include <sys/socket.h> .br .B #include <sys/un.h> -.IB unix_socket " = socket(PF_UNIX, type, 0);" +.IB unix_socket " = socket(AF_UNIX, type, 0);" .br -.IB error " = socketpair(PF_UNIX, type, 0, int *" sv ");" +.IB error " = socketpair(AF_UNIX, type, 0, int *" sv ");" .SH DESCRIPTION The -.B PF_UNIX +.B AF_UNIX (also known as -.BR PF_LOCAL ) +.BR AF_LOCAL ) socket family is used to communicate between processes on the same machine efficiently. Traditionally, Unix sockets can be either unnamed, @@ -132,7 +132,7 @@ The abstract socket namespace is a non-portable Linux extension. For historical reasons these socket options are specified with a .B SOL_SOCKET type even though they are -.B PF_UNIX +.B AF_UNIX specific. They can be set with .BR setsockopt (2) @@ -185,7 +185,7 @@ For historical reasons the ancillary message types listed below are specified with a .B SOL_SOCKET type even though they are -.B PF_UNIX +.B AF_UNIX specific. To send them set the .I cmsg_level @@ -295,7 +295,7 @@ or .BR recvmsg (2). .TP .B EPROTONOSUPPORT -Passed protocol is not PF_UNIX. +Passed protocol is not AF_UNIX. .TP .B EPROTOTYPE Remote socket does not match the local socket type |
