diff options
| author | Meizu OpenSource <patchwork@meizu.com> | 2016-08-15 10:19:42 +0800 |
|---|---|---|
| committer | Meizu OpenSource <patchwork@meizu.com> | 2016-08-15 10:19:42 +0800 |
| commit | d2e1446d81725c351dc73a03b397ce043fb18452 (patch) | |
| tree | 4dbc616b7f92aea39cd697a9084205ddb805e344 /include/uapi/linux/un.h | |
first commit
Diffstat (limited to 'include/uapi/linux/un.h')
| -rw-r--r-- | include/uapi/linux/un.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/uapi/linux/un.h b/include/uapi/linux/un.h new file mode 100644 index 000000000..3ed3e46c1 --- /dev/null +++ b/include/uapi/linux/un.h @@ -0,0 +1,13 @@ +#ifndef _LINUX_UN_H +#define _LINUX_UN_H + +#include <linux/socket.h> + +#define UNIX_PATH_MAX 108 + +struct sockaddr_un { + __kernel_sa_family_t sun_family; /* AF_UNIX */ + char sun_path[UNIX_PATH_MAX]; /* pathname */ +}; + +#endif /* _LINUX_UN_H */ |
