@@ -32,21 +32,13 @@ pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
32
32
33
33
pub const EFD_CLOEXEC : :: c_int = 0x80000 ;
34
34
35
- pub const BUFSIZ : :: c_uint = 4096 ;
36
35
pub const TMP_MAX : :: c_uint = 238328 ;
37
- pub const FOPEN_MAX : :: c_uint = 16 ;
38
- pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
39
36
pub const _SC_2_C_VERSION: :: c_int = 96 ;
40
37
pub const O_ACCMODE : :: c_int = 3 ;
41
38
pub const O_DIRECT : :: c_int = 0x8000 ;
42
39
pub const O_DIRECTORY : :: c_int = 0x10000 ;
43
40
pub const O_NOFOLLOW : :: c_int = 0x20000 ;
44
41
45
- pub const RLIMIT_NOFILE : :: c_int = 5 ;
46
- pub const RLIMIT_AS : :: c_int = 6 ;
47
- pub const RLIMIT_RSS : :: c_int = 7 ;
48
- pub const RLIMIT_NPROC : :: c_int = 8 ;
49
- pub const RLIMIT_MEMLOCK : :: c_int = 9 ;
50
42
pub const RLIMIT_NLIMITS : :: c_int = 15 ;
51
43
pub const RLIM_NLIMITS : :: c_int = RLIMIT_NLIMITS ;
52
44
@@ -86,7 +78,6 @@ pub const EXFULL: ::c_int = 52;
86
78
pub const ENOANO : :: c_int = 53 ;
87
79
pub const EBADRQC : :: c_int = 54 ;
88
80
pub const EBADSLT : :: c_int = 55 ;
89
- pub const EDEADLOCK : :: c_int = 56 ;
90
81
pub const EMULTIHOP : :: c_int = 74 ;
91
82
pub const EOVERFLOW : :: c_int = 79 ;
92
83
pub const ENOTUNIQ : :: c_int = 80 ;
@@ -188,7 +179,6 @@ pub const SIGTSTP: ::c_int = 24;
188
179
pub const SIGURG : :: c_int = 21 ;
189
180
pub const SIGIO : :: c_int = 22 ;
190
181
pub const SIGSYS : :: c_int = 12 ;
191
- pub const SIGPOLL : :: c_int = 22 ;
192
182
pub const SIGPWR : :: c_int = 19 ;
193
183
pub const SIG_SETMASK : :: c_int = 3 ;
194
184
pub const SIG_BLOCK : :: c_int = 0x1 ;
@@ -215,47 +205,15 @@ pub const CPU_SETSIZE: ::c_int = 0x400;
215
205
pub const EFD_NONBLOCK : :: c_int = 0x80 ;
216
206
217
207
pub const F_GETLK : :: c_int = 14 ;
218
- pub const F_GETOWN : :: c_int = 23 ;
219
- pub const F_SETOWN : :: c_int = 24 ;
220
208
pub const F_SETLK : :: c_int = 6 ;
221
209
pub const F_SETLKW : :: c_int = 7 ;
222
210
223
211
pub const SFD_NONBLOCK : :: c_int = 0x80 ;
224
212
225
- pub const TCGETS : :: c_ulong = 0x540d ;
226
- pub const TCSETS : :: c_ulong = 0x540e ;
227
- pub const TCSETSW : :: c_ulong = 0x540f ;
228
- pub const TCSETSF : :: c_ulong = 0x5410 ;
229
- pub const TCGETA : :: c_ulong = 0x5401 ;
230
- pub const TCSETA : :: c_ulong = 0x5402 ;
231
- pub const TCSETAW : :: c_ulong = 0x5403 ;
232
- pub const TCSETAF : :: c_ulong = 0x5404 ;
233
- pub const TCSBRK : :: c_ulong = 0x5405 ;
234
- pub const TCXONC : :: c_ulong = 0x5406 ;
235
- pub const TCFLSH : :: c_ulong = 0x5407 ;
236
- pub const TIOCGSOFTCAR : :: c_ulong = 0x5481 ;
237
- pub const TIOCSSOFTCAR : :: c_ulong = 0x5482 ;
238
- pub const TIOCINQ : :: c_ulong = 0x467f ;
239
- pub const TIOCLINUX : :: c_ulong = 0x5483 ;
240
- pub const TIOCGSERIAL : :: c_ulong = 0x5484 ;
241
- pub const TIOCEXCL : :: c_ulong = 0x740d ;
242
- pub const TIOCNXCL : :: c_ulong = 0x740e ;
243
- pub const TIOCSCTTY : :: c_ulong = 0x5480 ;
244
- pub const TIOCGPGRP : :: c_ulong = 0x40047477 ;
245
- pub const TIOCSPGRP : :: c_ulong = 0x80047476 ;
246
- pub const TIOCOUTQ : :: c_ulong = 0x7472 ;
247
- pub const TIOCSTI : :: c_ulong = 0x5472 ;
248
213
pub const TIOCGWINSZ : :: c_ulong = 0x40087468 ;
249
214
pub const TIOCSWINSZ : :: c_ulong = 0x80087467 ;
250
- pub const TIOCMGET : :: c_ulong = 0x741d ;
251
- pub const TIOCMBIS : :: c_ulong = 0x741b ;
252
- pub const TIOCMBIC : :: c_ulong = 0x741c ;
253
- pub const TIOCMSET : :: c_ulong = 0x741a ;
254
- pub const FIONREAD : :: c_ulong = 0x467f ;
255
- pub const TIOCCONS : :: c_ulong = 0x80047478 ;
256
215
257
216
pub const RTLD_GLOBAL : :: c_int = 0x4 ;
258
- pub const RTLD_NOLOAD : :: c_int = 0x8 ;
259
217
260
218
pub const SIGSTKSZ : :: size_t = 8192 ;
261
219
pub const CBAUD : :: tcflag_t = 0o0010017 ;
@@ -315,8 +273,6 @@ pub const B4800: ::speed_t = 0o000014;
315
273
pub const B9600 : :: speed_t = 0o000015 ;
316
274
pub const B19200 : :: speed_t = 0o000016 ;
317
275
pub const B38400 : :: speed_t = 0o000017 ;
318
- pub const EXTA : :: speed_t = B19200 ;
319
- pub const EXTB : :: speed_t = B38400 ;
320
276
pub const B57600 : :: speed_t = 0o010001 ;
321
277
pub const B115200 : :: speed_t = 0o010002 ;
322
278
pub const B230400 : :: speed_t = 0o010003 ;
0 commit comments