File: un.h

package info (click to toggle)
glibc 2.41-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 300,376 kB
  • sloc: ansic: 1,050,583; asm: 238,243; makefile: 20,379; python: 13,537; sh: 11,827; cpp: 5,197; awk: 1,795; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (13 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (15)
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 */