add PACKET_IGNORE_OUTGOING sockopt from linux v4.20
[musl.git] / include / alltypes.h.in
blob4cc879b1d70c66343a25cd7481a1ee9f9e86c1fa
1 TYPEDEF unsigned _Addr size_t;
2 TYPEDEF unsigned _Addr uintptr_t;
3 TYPEDEF _Addr ptrdiff_t;
4 TYPEDEF _Addr ssize_t;
5 TYPEDEF _Addr intptr_t;
6 TYPEDEF _Addr regoff_t;
7 TYPEDEF _Reg register_t;
9 TYPEDEF signed char int8_t;
10 TYPEDEF signed short int16_t;
11 TYPEDEF signed int int32_t;
12 TYPEDEF signed _Int64 int64_t;
13 TYPEDEF signed _Int64 intmax_t;
14 TYPEDEF unsigned char uint8_t;
15 TYPEDEF unsigned short uint16_t;
16 TYPEDEF unsigned int uint32_t;
17 TYPEDEF unsigned _Int64 uint64_t;
18 TYPEDEF unsigned _Int64 u_int64_t;
19 TYPEDEF unsigned _Int64 uintmax_t;
21 TYPEDEF unsigned mode_t;
22 TYPEDEF unsigned _Reg nlink_t;
23 TYPEDEF _Int64 off_t;
24 TYPEDEF unsigned _Int64 ino_t;
25 TYPEDEF unsigned _Int64 dev_t;
26 TYPEDEF long blksize_t;
27 TYPEDEF _Int64 blkcnt_t;
28 TYPEDEF unsigned _Int64 fsblkcnt_t;
29 TYPEDEF unsigned _Int64 fsfilcnt_t;
31 TYPEDEF unsigned wint_t;
32 TYPEDEF unsigned long wctype_t;
34 TYPEDEF void * timer_t;
35 TYPEDEF int clockid_t;
36 TYPEDEF long clock_t;
37 STRUCT timeval { time_t tv_sec; suseconds_t tv_usec; };
38 STRUCT timespec { time_t tv_sec; long tv_nsec; };
40 TYPEDEF int pid_t;
41 TYPEDEF unsigned id_t;
42 TYPEDEF unsigned uid_t;
43 TYPEDEF unsigned gid_t;
44 TYPEDEF int key_t;
45 TYPEDEF unsigned useconds_t;
47 #ifdef __cplusplus
48 TYPEDEF unsigned long pthread_t;
49 #else
50 TYPEDEF struct __pthread * pthread_t;
51 #endif
52 TYPEDEF int pthread_once_t;
53 TYPEDEF unsigned pthread_key_t;
54 TYPEDEF int pthread_spinlock_t;
55 TYPEDEF struct { unsigned __attr; } pthread_mutexattr_t;
56 TYPEDEF struct { unsigned __attr; } pthread_condattr_t;
57 TYPEDEF struct { unsigned __attr; } pthread_barrierattr_t;
58 TYPEDEF struct { unsigned __attr[2]; } pthread_rwlockattr_t;
60 STRUCT _IO_FILE { char __x; };
61 TYPEDEF struct _IO_FILE FILE;
63 TYPEDEF struct __mbstate_t { unsigned __opaque1, __opaque2; } mbstate_t;
65 TYPEDEF struct __locale_struct * locale_t;
67 TYPEDEF struct __sigset_t { unsigned long __bits[128/sizeof(long)]; } sigset_t;
69 STRUCT iovec { void *iov_base; size_t iov_len; };
71 TYPEDEF unsigned socklen_t;
72 TYPEDEF unsigned short sa_family_t;
74 #undef _Addr
75 #undef _Int64
76 #undef _Reg