Changeset 331 for EcnlProtoTool/trunk/musl-1.1.18/include/bits
- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- Location:
- EcnlProtoTool/trunk/musl-1.1.18
- Files:
-
- 23 added
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/musl-1.1.18/include/bits/alltypes.h
r321 r331 4 4 5 5 #if defined(__NEED_va_list) && !defined(__DEFINED_va_list) 6 typedef __builtin_va_list __gnuc_va_list; 7 typedef __gnuc_va_list va_list; 6 typedef __builtin_va_list va_list; 8 7 #define __DEFINED_va_list 9 8 #endif 10 9 11 10 #if defined(__NEED___isoc_va_list) && !defined(__DEFINED___isoc_va_list) 12 typedef char*__isoc_va_list;11 typedef __builtin_va_list __isoc_va_list; 13 12 #define __DEFINED___isoc_va_list 14 13 #endif … … 17 16 #ifndef __cplusplus 18 17 #if defined(__NEED_wchar_t) && !defined(__DEFINED_wchar_t) 19 typedef unsigned shortwchar_t;18 typedef unsigned wchar_t; 20 19 #define __DEFINED_wchar_t 21 20 #endif … … 189 188 190 189 #if defined(__NEED_off_t) && !defined(__DEFINED_off_t) 191 typedef intoff_t;190 typedef _Int64 off_t; 192 191 #define __DEFINED_off_t 193 192 #endif 194 193 195 194 #if defined(__NEED_ino_t) && !defined(__DEFINED_ino_t) 196 typedef unsigned shortino_t;195 typedef unsigned _Int64 ino_t; 197 196 #define __DEFINED_ino_t 198 197 #endif 199 198 200 199 #if defined(__NEED_dev_t) && !defined(__DEFINED_dev_t) 201 typedef unsigned intdev_t;200 typedef unsigned _Int64 dev_t; 202 201 #define __DEFINED_dev_t 203 202 #endif … … 209 208 210 209 #if defined(__NEED_blkcnt_t) && !defined(__DEFINED_blkcnt_t) 211 typedef intblkcnt_t;210 typedef _Int64 blkcnt_t; 212 211 #define __DEFINED_blkcnt_t 213 212 #endif 214 213 215 214 #if defined(__NEED_fsblkcnt_t) && !defined(__DEFINED_fsblkcnt_t) 216 typedef unsigned intfsblkcnt_t;215 typedef unsigned _Int64 fsblkcnt_t; 217 216 #define __DEFINED_fsblkcnt_t 218 217 #endif 219 218 220 219 #if defined(__NEED_fsfilcnt_t) && !defined(__DEFINED_fsfilcnt_t) 221 typedef unsigned intfsfilcnt_t;220 typedef unsigned _Int64 fsfilcnt_t; 222 221 #define __DEFINED_fsfilcnt_t 223 222 #endif … … 251 250 252 251 #if defined(__NEED_struct_timeval) && !defined(__DEFINED_struct_timeval) 253 //struct timeval { time_t tv_sec; suseconds_t tv_usec; };252 struct timeval { time_t tv_sec; suseconds_t tv_usec; }; 254 253 #define __DEFINED_struct_timeval 255 254 #endif … … 342 341 343 342 #if defined(__NEED_FILE) && !defined(__DEFINED_FILE) 344 typedef __FILE FILE;343 typedef struct _IO_FILE FILE; 345 344 #define __DEFINED_FILE 346 345 #endif -
EcnlProtoTool/trunk/musl-1.1.18/include/bits/ioctl.h
r321 r331 47 47 #define TIOCGETD 0x5424 48 48 #define TCSBRKP 0x5425 49 #define TIOCTTYGSTRUCT 0x542650 49 #define TIOCSBRK 0x5427 51 50 #define TIOCCBRK 0x5428 52 51 #define TIOCGSID 0x5429 52 #define TIOCGRS485 0x542E 53 #define TIOCSRS485 0x542F 53 54 #define TIOCGPTN 0x80045430 54 55 #define TIOCSPTLCK 0x40045431 56 #define TIOCGDEV 0x80045432 55 57 #define TCGETX 0x5432 56 58 #define TCSETX 0x5433 57 59 #define TCSETXF 0x5434 58 60 #define TCSETXW 0x5435 61 #define TIOCSIG 0x40045436 62 #define TIOCVHANGUP 0x5437 63 #define TIOCGPKT 0x80045438 64 #define TIOCGPTLCK 0x80045439 65 #define TIOCGEXCL 0x80045440 59 66 60 67 #define FIONCLEX 0x5450 … … 73 80 #define TIOCMIWAIT 0x545C 74 81 #define TIOCGICOUNT 0x545D 75 #define TIOCGHAYESESP 0x545E76 #define TIOCSHAYESESP 0x545F77 82 #define FIOQSIZE 0x5460 78 83 … … 109 114 #define TIOCM_OUT2 0x4000 110 115 #define TIOCM_LOOP 0x8000 111 #define TIOCM_MODEM_BITS TIOCM_OUT2112 116 113 117 #define N_TTY 0 … … 134 138 #define SIOCATMARK 0x8905 135 139 #define SIOCGSTAMP 0x8906 140 #define SIOCGSTAMPNS 0x8907 136 141 137 142 #define SIOCADDRT 0x890B … … 158 163 #define SIOCGIFMTU 0x8921 159 164 #define SIOCSIFMTU 0x8922 165 #define SIOCSIFNAME 0x8923 160 166 #define SIOCSIFHWADDR 0x8924 161 167 #define SIOCGIFENCAP 0x8925 … … 196 202 #define SIOCDEVPRIVATE 0x89F0 197 203 #define SIOCPROTOPRIVATE 0x89E0 204 205 #include <bits/ioctl_fix.h> -
EcnlProtoTool/trunk/musl-1.1.18/include/bits/mman.h
r321 r331 1 #define MAP_FAILED ((void *) -1)2 3 #define PROT_NONE 04 #define PROT_READ 15 #define PROT_WRITE 26 #define PROT_EXEC 47 #define PROT_GROWSDOWN 0x010000008 #define PROT_GROWSUP 0x020000009 10 #define MAP_SHARED 0x0111 #define MAP_PRIVATE 0x0212 #define MAP_FIXED 0x1013 14 #define MAP_TYPE 0x0f15 #define MAP_FILE 0x0016 #define MAP_ANON 0x2017 #define MAP_ANONYMOUS MAP_ANON18 #define MAP_NORESERVE 0x400019 #define MAP_GROWSDOWN 0x010020 #define MAP_DENYWRITE 0x080021 #define MAP_EXECUTABLE 0x100022 #define MAP_LOCKED 0x200023 #define MAP_POPULATE 0x800024 #define MAP_NONBLOCK 0x1000025 #define MAP_STACK 0x2000026 #define MAP_HUGETLB 0x4000027 28 #define POSIX_MADV_NORMAL 029 #define POSIX_MADV_RANDOM 130 #define POSIX_MADV_SEQUENTIAL 231 #define POSIX_MADV_WILLNEED 332 #define POSIX_MADV_DONTNEED 033 34 #define MS_ASYNC 135 #define MS_INVALIDATE 236 #define MS_SYNC 437 38 #define MCL_CURRENT 139 #define MCL_FUTURE 240 41 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)42 #define MADV_NORMAL 043 #define MADV_RANDOM 144 #define MADV_SEQUENTIAL 245 #define MADV_WILLNEED 346 #define MADV_DONTNEED 447 #define MADV_REMOVE 948 #define MADV_DONTFORK 1049 #define MADV_DOFORK 1150 #define MADV_MERGEABLE 1251 #define MADV_UNMERGEABLE 1352 #define MADV_HUGEPAGE 1453 #define MADV_NOHUGEPAGE 1554 #define MADV_DONTDUMP 1655 #define MADV_DODUMP 1756 #define MADV_HWPOISON 10057 #define MADV_SOFT_OFFLINE 10158 #endif -
EcnlProtoTool/trunk/musl-1.1.18/include/bits/socket.h
r321 r331 1 struct msghdr 2 { 1 struct msghdr { 3 2 void *msg_name; 4 3 socklen_t msg_namelen; … … 10 9 }; 11 10 12 struct cmsghdr 13 { 11 struct cmsghdr { 14 12 socklen_t cmsg_len; 15 13 int cmsg_level; -
EcnlProtoTool/trunk/musl-1.1.18/include/bits/termios.h
r321 r331 1 struct termios 2 { 1 struct termios { 3 2 tcflag_t c_iflag; 4 3 tcflag_t c_oflag; … … 110 109 #define B4000000 0010017 111 110 112 #define CBAUD 0010017113 114 111 #define CSIZE 0000060 115 112 #define CS5 0000000 … … 134 131 #define IEXTEN 0100000 135 132 136 #define ECHOCTL 0001000137 #define ECHOPRT 0002000138 #define ECHOKE 0004000139 #define FLUSHO 0010000140 #define PENDIN 0040000141 142 133 #define TCOOFF 0 143 134 #define TCOON 1 … … 154 145 155 146 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) 147 #define EXTA 0000016 148 #define EXTB 0000017 149 #define CBAUD 0010017 156 150 #define CBAUDEX 0010000 157 #define CRTSCTS 020000000000 151 #define CIBAUD 002003600000 152 #define CMSPAR 010000000000 153 #define CRTSCTS 020000000000 154 155 #define XCASE 0000004 156 #define ECHOCTL 0001000 157 #define ECHOPRT 0002000 158 #define ECHOKE 0004000 159 #define FLUSHO 0010000 160 #define PENDIN 0040000 158 161 #define EXTPROC 0200000 162 159 163 #define XTABS 0014000 160 164 #endif
Note:
See TracChangeset
for help on using the changeset viewer.