File: un.h

package info (click to toggle)
glibc 2.42-6
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid
  • size: 312,360 kB
  • sloc: ansic: 1,060,858; asm: 238,416; makefile: 20,960; python: 13,509; sh: 11,828; cpp: 5,188; awk: 1,794; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (13 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <socket/sys/un.h>

#ifndef _ISOMAC

/* Set ADDR->sun_family to AF_UNIX and ADDR->sun_path to PATHNAME.
   Return 0 on success or -1 on failure (due to overlong PATHNAME).
   The caller should always use sizeof (struct sockaddr_un) as the
   socket address length, disregaring the length of PATHNAME.
   Only concrete (non-abstract) pathnames are supported.  */
int __sockaddr_un_set (struct sockaddr_un *addr, const char *pathname)
  attribute_hidden;

#endif /* _ISOMAC */