1un.h(3HEAD)                         Headers                        un.h(3HEAD)
2
3
4

NAME

6       un.h, un - definitions for UNIX-domain sockets
7

SYNOPSIS

9       #include <sys/un.h>
10
11

DESCRIPTION

13       The  <sys/un.h>  header defines the sockaddr_un structure that includes
14       the following members:
15
16         sa_family_t  sun_family   /* address family */
17         char         sun_path[]   /* socket pathname */
18
19
20
21       The sockaddr_un structure is used to store addresses  for  UNIX  domain
22       sockets.  Values  of  this type must be cast to struct sockaddr for use
23       with the socket interfaces.
24
25
26       The <sys/un.h> header defines the  type  sa_family_t  as  described  in
27       socket.h(3HEAD).
28

ATTRIBUTES

30       See attributes(5) for descriptions of the following attributes:
31
32
33
34
35       ┌─────────────────────────────┬─────────────────────────────┐
36       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
37       ├─────────────────────────────┼─────────────────────────────┤
38       │Interface Stability          │Standard                     │
39       └─────────────────────────────┴─────────────────────────────┘
40

SEE ALSO

42       bind(3SOCKET),     bind(3XNET),    socket.h(3HEAD),    socket(3SOCKET),
43       socket(3XNET), socketpair(3SOCKET),  socketpair(3XNET),  attributes(5),
44       standards(5)
45
46
47
48SunOS 5.11                        30 Aug 2002                      un.h(3HEAD)
Impressum