Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/_types.h
Show All 37 Lines | |||||
typedef __int32_t __blksize_t; /* file block size */ | typedef __int32_t __blksize_t; /* file block size */ | ||||
typedef __int64_t __blkcnt_t; /* file block count */ | typedef __int64_t __blkcnt_t; /* file block count */ | ||||
typedef __int32_t __clockid_t; /* clock_gettime()... */ | typedef __int32_t __clockid_t; /* clock_gettime()... */ | ||||
typedef __uint32_t __fflags_t; /* file flags */ | typedef __uint32_t __fflags_t; /* file flags */ | ||||
typedef __uint64_t __fsblkcnt_t; | typedef __uint64_t __fsblkcnt_t; | ||||
typedef __uint64_t __fsfilcnt_t; | typedef __uint64_t __fsfilcnt_t; | ||||
typedef __uint32_t __gid_t; | typedef __uint32_t __gid_t; | ||||
typedef __int64_t __id_t; /* can hold a gid_t, pid_t, or uid_t */ | typedef __int64_t __id_t; /* can hold a gid_t, pid_t, or uid_t */ | ||||
typedef __uint32_t __ino_t; /* inode number */ | typedef __uint64_t __ino_t; /* inode number */ | ||||
typedef long __key_t; /* IPC key (for Sys V IPC) */ | typedef long __key_t; /* IPC key (for Sys V IPC) */ | ||||
typedef __int32_t __lwpid_t; /* Thread ID (a.k.a. LWP) */ | typedef __int32_t __lwpid_t; /* Thread ID (a.k.a. LWP) */ | ||||
typedef __uint16_t __mode_t; /* permissions */ | typedef __uint16_t __mode_t; /* permissions */ | ||||
typedef int __accmode_t; /* access permissions */ | typedef int __accmode_t; /* access permissions */ | ||||
typedef int __nl_item; | typedef int __nl_item; | ||||
typedef __uint16_t __nlink_t; /* link count */ | typedef __uint64_t __nlink_t; /* link count */ | ||||
typedef __int64_t __off_t; /* file offset */ | typedef __int64_t __off_t; /* file offset */ | ||||
typedef __int64_t __off64_t; /* file offset (alias) */ | typedef __int64_t __off64_t; /* file offset (alias) */ | ||||
typedef __int32_t __pid_t; /* process [group] */ | typedef __int32_t __pid_t; /* process [group] */ | ||||
typedef __int64_t __rlim_t; /* resource limit - intentionally */ | typedef __int64_t __rlim_t; /* resource limit - intentionally */ | ||||
/* signed, because of legacy code */ | /* signed, because of legacy code */ | ||||
/* that uses -1 for RLIM_INFINITY */ | /* that uses -1 for RLIM_INFINITY */ | ||||
typedef __uint8_t __sa_family_t; | typedef __uint8_t __sa_family_t; | ||||
typedef __uint32_t __socklen_t; | typedef __uint32_t __socklen_t; | ||||
Show All 39 Lines | |||||
#define _CHAR32_T_DECLARED | #define _CHAR32_T_DECLARED | ||||
#endif | #endif | ||||
typedef struct { | typedef struct { | ||||
long long __max_align1 __aligned(_Alignof(long long)); | long long __max_align1 __aligned(_Alignof(long long)); | ||||
long double __max_align2 __aligned(_Alignof(long double)); | long double __max_align2 __aligned(_Alignof(long double)); | ||||
} __max_align_t; | } __max_align_t; | ||||
typedef __uint32_t __dev_t; /* device number */ | typedef __uint64_t __dev_t; /* device number */ | ||||
typedef __uint32_t __fixpt_t; /* fixed point number */ | typedef __uint32_t __fixpt_t; /* fixed point number */ | ||||
/* | /* | ||||
* mbstate_t is an opaque object to keep conversion state during multibyte | * mbstate_t is an opaque object to keep conversion state during multibyte | ||||
* stream conversions. | * stream conversions. | ||||
*/ | */ | ||||
typedef union { | typedef union { | ||||
char __mbstate8[128]; | char __mbstate8[128]; | ||||
__int64_t _mbstateL; /* for alignment */ | __int64_t _mbstateL; /* for alignment */ | ||||
} __mbstate_t; | } __mbstate_t; | ||||
typedef __uintmax_t __rman_res_t; | typedef __uintmax_t __rman_res_t; | ||||
#endif /* !_SYS__TYPES_H_ */ | #endif /* !_SYS__TYPES_H_ */ |