5755935 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include/sys]$ cat -n un.h
 1 #ifndef _SYS_UN_H
 2 #define _SYS_UN_H
 3 
 4 /* POSIX requires only at least 100 bytes */
 5 #define UNIX_PATH_LEN   108
 6 
 7 struct sockaddr_un {
 8   unsigned short sun_family;              /* address family AF_LOCAL/AF_UNIX */
 9   char           sun_path[UNIX_PATH_LEN]; /* 108 bytes of socket address     */
10 };
11 
12 /* Evaluates the actual length of `sockaddr_un' structure. */
13 #define SUN_LEN(p) ((size_t)(((struct sockaddr_un *) NULL)->sun_path) \
14                    + strlen ((p)->sun_path))
15 
16 #endif
5755936 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include/sys]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2001-01-31 15:09:12