1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef _SYS_UN_H
- #define _SYS_UN_H 1
- #include <sys/cdefs.h>
- #include <bits/sockaddr.h>
- __BEGIN_DECLS
- struct sockaddr_un
- {
- __SOCKADDR_COMMON (sun_);
- char sun_path[108];
- };
- #ifdef __USE_MISC
- # include <string.h> /* For prototype of `strlen'. */
- # define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) \
- + strlen ((ptr)->sun_path))
- #endif
- __END_DECLS
- #endif
|