UN.H(3HEAD) Headers UN.H(3HEAD)
un.h, un - definitions for UNIX-domain sockets
#include <sys/un.h>
The <sys/un.h> header defines the sockaddr_un structure that includes
the following members:
sa_family_t sun_family /* address family */
char sun_path[] /* socket pathname */
The sockaddr_un structure is used to store addresses for UNIX domain
sockets. Values of this type must be cast to struct sockaddr for use
with the socket interfaces.
The <sys/un.h> header defines the type sa_family_t as described in
socket.h(3HEAD).
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
socket.h(3HEAD), bind(3SOCKET), sockaddr(3SOCKET), socket(3SOCKET),
socketpair(3SOCKET), bind(3XNET), socket(3XNET), socketpair(3XNET),
attributes(7), standards(7)
August 30, 2002 UN.H(3HEAD)
NAME
un.h, un - definitions for UNIX-domain sockets
SYNOPSIS
#include <sys/un.h>
DESCRIPTION
The <sys/un.h> header defines the sockaddr_un structure that includes
the following members:
sa_family_t sun_family /* address family */
char sun_path[] /* socket pathname */
The sockaddr_un structure is used to store addresses for UNIX domain
sockets. Values of this type must be cast to struct sockaddr for use
with the socket interfaces.
The <sys/un.h> header defines the type sa_family_t as described in
socket.h(3HEAD).
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
SEE ALSO
socket.h(3HEAD), bind(3SOCKET), sockaddr(3SOCKET), socket(3SOCKET),
socketpair(3SOCKET), bind(3XNET), socket(3XNET), socketpair(3XNET),
attributes(7), standards(7)
August 30, 2002 UN.H(3HEAD)