1 | #include <socket/sys/un.h> |
---|---|
2 | |
3 | #ifndef _ISOMAC |
4 | |
5 | /* Set ADDR->sun_family to AF_UNIX and ADDR->sun_path to PATHNAME. |
6 | Return 0 on success or -1 on failure (due to overlong PATHNAME). |
7 | The caller should always use sizeof (struct sockaddr_un) as the |
8 | socket address length, disregaring the length of PATHNAME. |
9 | Only concrete (non-abstract) pathnames are supported. */ |
10 | int __sockaddr_un_set (struct sockaddr_un *addr, const char *pathname) |
11 | attribute_hidden; |
12 | |
13 | #endif /* _ISOMAC */ |
14 |