@@ -32,21 +32,13 @@ pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
3232
3333pub const EFD_CLOEXEC : :: c_int = 0x80000 ;
3434
35- pub const BUFSIZ : :: c_uint = 4096 ;
3635pub const TMP_MAX : :: c_uint = 238328 ;
37- pub const FOPEN_MAX : :: c_uint = 16 ;
38- pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
3936pub const _SC_2_C_VERSION: :: c_int = 96 ;
4037pub const O_ACCMODE : :: c_int = 3 ;
4138pub const O_DIRECT : :: c_int = 0x8000 ;
4239pub const O_DIRECTORY : :: c_int = 0x10000 ;
4340pub const O_NOFOLLOW : :: c_int = 0x20000 ;
4441
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 ;
5042pub const RLIMIT_NLIMITS : :: c_int = 15 ;
5143pub const RLIM_NLIMITS : :: c_int = RLIMIT_NLIMITS ;
5244
@@ -86,7 +78,6 @@ pub const EXFULL: ::c_int = 52;
8678pub const ENOANO : :: c_int = 53 ;
8779pub const EBADRQC : :: c_int = 54 ;
8880pub const EBADSLT : :: c_int = 55 ;
89- pub const EDEADLOCK : :: c_int = 56 ;
9081pub const EMULTIHOP : :: c_int = 74 ;
9182pub const EOVERFLOW : :: c_int = 79 ;
9283pub const ENOTUNIQ : :: c_int = 80 ;
@@ -188,7 +179,6 @@ pub const SIGTSTP: ::c_int = 24;
188179pub const SIGURG : :: c_int = 21 ;
189180pub const SIGIO : :: c_int = 22 ;
190181pub const SIGSYS : :: c_int = 12 ;
191- pub const SIGPOLL : :: c_int = 22 ;
192182pub const SIGPWR : :: c_int = 19 ;
193183pub const SIG_SETMASK : :: c_int = 3 ;
194184pub const SIG_BLOCK : :: c_int = 0x1 ;
@@ -215,47 +205,15 @@ pub const CPU_SETSIZE: ::c_int = 0x400;
215205pub const EFD_NONBLOCK : :: c_int = 0x80 ;
216206
217207pub const F_GETLK : :: c_int = 14 ;
218- pub const F_GETOWN : :: c_int = 23 ;
219- pub const F_SETOWN : :: c_int = 24 ;
220208pub const F_SETLK : :: c_int = 6 ;
221209pub const F_SETLKW : :: c_int = 7 ;
222210
223211pub const SFD_NONBLOCK : :: c_int = 0x80 ;
224212
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 ;
248213pub const TIOCGWINSZ : :: c_ulong = 0x40087468 ;
249214pub 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 ;
256215
257216pub const RTLD_GLOBAL : :: c_int = 0x4 ;
258- pub const RTLD_NOLOAD : :: c_int = 0x8 ;
259217
260218pub const SIGSTKSZ : :: size_t = 8192 ;
261219pub const CBAUD : :: tcflag_t = 0o0010017 ;
@@ -315,8 +273,6 @@ pub const B4800: ::speed_t = 0o000014;
315273pub const B9600 : :: speed_t = 0o000015 ;
316274pub const B19200 : :: speed_t = 0o000016 ;
317275pub const B38400 : :: speed_t = 0o000017 ;
318- pub const EXTA : :: speed_t = B19200 ;
319- pub const EXTB : :: speed_t = B38400 ;
320276pub const B57600 : :: speed_t = 0o010001 ;
321277pub const B115200 : :: speed_t = 0o010002 ;
322278pub const B230400 : :: speed_t = 0o010003 ;
0 commit comments