VSF Documented
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
source
shell
sys
linux
include
sys
un.h
Go to the documentation of this file.
1
#ifndef __VSF_LINUX_SYS_UN_H__
2
#define __VSF_LINUX_SYS_UN_H__
3
4
#include "
shell/sys/linux/vsf_linux_cfg.h
"
5
6
#if VSF_LINUX_CFG_RELATIVE_PATH == ENABLED
7
# include "../sys/types.h"
8
# include "../sys/socket.h"
9
#else
10
# include <
sys/types.h
>
11
# include <
sys/socket.h
>
12
#endif
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#define UNIX_PATH_MAX 108
19
20
struct
sockaddr_un
{
21
sa_family_t
sun_family
;
22
char
sun_path
[
UNIX_PATH_MAX
];
23
};
24
25
#ifdef __cplusplus
26
}
27
#endif
28
29
#endif
types.h
socket.h
sa_family_t
uint16_t sa_family_t
Definition
socket.h:73
sockaddr_un
Definition
un.h:20
sockaddr_un::sun_path
char sun_path[UNIX_PATH_MAX]
Definition
un.h:22
sockaddr_un::sun_family
sa_family_t sun_family
Definition
un.h:21
UNIX_PATH_MAX
#define UNIX_PATH_MAX
Definition
un.h:18
vsf_linux_cfg.h
Generated by
1.9.8