1 pub type blkcnt_t
= i64;
2 pub type blksize_t
= i64;
5 pub type c_ulong
= u64;
6 pub type fsblkcnt_t
= u64;
7 pub type fsfilcnt_t
= u64;
9 pub type nlink_t
= u64;
11 pub type rlim_t
= u64;
12 pub type suseconds_t
= i64;
13 pub type time_t
= i64;
14 pub type wchar_t
= i32;
15 pub type greg_t
= u64;
16 pub type clock_t
= i64;
17 pub type __fsword_t
= ::c_long
;
18 pub type __priority_which_t
= ::c_uint
;
23 pub aio_fildes
: ::c_int
,
24 pub aio_lio_opcode
: ::c_int
,
25 pub aio_reqprio
: ::c_int
,
26 pub aio_buf
: *mut ::c_void
,
27 pub aio_nbytes
: ::size_t
,
28 pub aio_sigevent
: ::sigevent
,
29 __next_prio
: *mut aiocb
,
32 __error_code
: ::c_int
,
33 __return_value
: ::ssize_t
,
34 pub aio_offset
: off_t
,
35 #[cfg(target_pointer_width = "32")]
36 __unused1
: [::c_char
; 4],
37 __glibc_reserved
: [::c_char
; 32]
43 pub st_nlink
: ::nlink_t
,
44 pub st_mode
: ::mode_t
,
50 pub st_atime
: ::time_t
,
51 pub st_atime_nsec
: ::c_long
,
52 pub st_mtime
: ::time_t
,
53 pub st_mtime_nsec
: ::c_long
,
54 pub st_ctime
: ::time_t
,
55 pub st_ctime_nsec
: ::c_long
,
56 pub st_blksize
: ::blksize_t
,
57 pub st_blocks
: ::blkcnt_t
,
58 __glibc_reserved
: [::c_long
; 3],
63 pub st_ino
: ::ino64_t
,
64 pub st_nlink
: ::nlink_t
,
65 pub st_mode
: ::mode_t
,
71 pub st_atime
: ::time_t
,
72 pub st_atime_nsec
: ::c_long
,
73 pub st_mtime
: ::time_t
,
74 pub st_mtime_nsec
: ::c_long
,
75 pub st_ctime
: ::time_t
,
76 pub st_ctime_nsec
: ::c_long
,
77 pub st_blksize
: ::blksize_t
,
78 pub st_blocks
: ::blkcnt64_t
,
79 __glibc_reserved
: [::c_long
; 3],
82 pub struct pthread_attr_t
{
83 __size
: [::c_ulong
; 7]
86 pub struct sigaction
{
87 pub sa_sigaction
: ::sighandler_t
,
88 __glibc_reserved0
: ::c_int
,
89 pub sa_flags
: ::c_int
,
90 pub sa_restorer
: ::dox
::Option
<extern fn()>,
91 pub sa_mask
: sigset_t
,
95 pub ss_sp
: *mut ::c_void
,
96 pub ss_flags
: ::c_int
,
97 pub ss_size
: ::size_t
,
100 pub struct sigset_t
{
101 __size
: [::c_ulong
; 16],
104 pub struct siginfo_t
{
105 pub si_signo
: ::c_int
,
106 pub si_errno
: ::c_int
,
107 pub si_code
: ::c_int
,
109 _pad2
: [::c_long
; 14],
112 pub struct ipc_perm
{
119 pub __seq
: ::c_ushort
,
121 __unused1
: ::c_ulong
,
125 pub struct shmid_ds
{
126 pub shm_perm
: ::ipc_perm
,
127 pub shm_segsz
: ::size_t
,
128 pub shm_atime
: ::time_t
,
129 pub shm_dtime
: ::time_t
,
130 pub shm_ctime
: ::time_t
,
131 pub shm_cpid
: ::pid_t
,
132 pub shm_lpid
: ::pid_t
,
133 pub shm_nattch
: ::shmatt_t
,
134 __unused4
: ::c_ulong
,
139 pub f_type
: ::c_uint
,
140 pub f_bsize
: ::c_uint
,
141 pub f_blocks
: ::fsblkcnt_t
,
142 pub f_bfree
: ::fsblkcnt_t
,
143 pub f_bavail
: ::fsblkcnt_t
,
144 pub f_files
: ::fsfilcnt_t
,
145 pub f_ffree
: ::fsfilcnt_t
,
146 pub f_fsid
: ::fsid_t
,
147 pub f_namelen
: ::c_uint
,
148 pub f_frsize
: ::c_uint
,
149 pub f_flags
: ::c_uint
,
150 f_spare
: [::c_uint
; 4],
154 pub msg_name
: *mut ::c_void
,
155 pub msg_namelen
: ::socklen_t
,
156 pub msg_iov
: *mut ::iovec
,
157 pub msg_iovlen
: ::size_t
,
158 pub msg_control
: *mut ::c_void
,
159 pub msg_controllen
: ::size_t
,
160 pub msg_flags
: ::c_int
,
164 pub cmsg_len
: ::size_t
,
165 pub cmsg_level
: ::c_int
,
166 pub cmsg_type
: ::c_int
,
170 pub c_iflag
: ::tcflag_t
,
171 pub c_oflag
: ::tcflag_t
,
172 pub c_cflag
: ::tcflag_t
,
173 pub c_lflag
: ::tcflag_t
,
175 pub c_cc
: [::cc_t
; ::NCCS
],
176 pub c_ispeed
: ::speed_t
,
177 pub c_ospeed
: ::speed_t
,
181 pub uptime
: ::c_long
,
182 pub loads
: [::c_ulong
; 3],
183 pub totalram
: ::c_ulong
,
184 pub freeram
: ::c_ulong
,
185 pub sharedram
: ::c_ulong
,
186 pub bufferram
: ::c_ulong
,
187 pub totalswap
: ::c_ulong
,
188 pub freeswap
: ::c_ulong
,
189 pub procs
: ::c_ushort
,
191 pub totalhigh
: ::c_ulong
,
192 pub freehigh
: ::c_ulong
,
193 pub mem_unit
: ::c_uint
,
194 pub _f
: [::c_char
; 0],
197 pub struct glob64_t
{
198 pub gl_pathc
: ::size_t
,
199 pub gl_pathv
: *mut *mut ::c_char
,
200 pub gl_offs
: ::size_t
,
201 pub gl_flags
: ::c_int
,
203 __unused1
: *mut ::c_void
,
204 __unused2
: *mut ::c_void
,
205 __unused3
: *mut ::c_void
,
206 __unused4
: *mut ::c_void
,
207 __unused5
: *mut ::c_void
,
217 pub l_type
: ::c_short
,
218 pub l_whence
: ::c_short
,
219 pub l_start
: ::off_t
,
224 // FIXME this is actually a union
226 __size
: [::c_char
; 32],
227 __align
: [::c_long
; 0],
235 // FIXME: This is actually a union.
241 pub struct fpregset_t
{
244 pub fprs
: [fpreg_t
; 16],
247 pub struct mcontext_t
{
249 pub gregs
: [u64; 16],
250 pub aregs
: [u32; 16],
251 pub fpregs
: fpregset_t
,
254 pub struct ucontext_t
{
255 pub uc_flags
: ::c_ulong
,
256 pub uc_link
: *mut ucontext_t
,
257 pub uc_stack
: ::stack_t
,
258 pub uc_mcontext
: mcontext_t
,
259 pub uc_sigmask
: ::sigset_t
,
262 pub struct msqid_ds
{
263 pub msg_perm
: ::ipc_perm
,
264 pub msg_stime
: ::time_t
,
265 pub msg_rtime
: ::time_t
,
266 pub msg_ctime
: ::time_t
,
267 __msg_cbytes
: ::c_ulong
,
268 pub msg_qnum
: ::msgqnum_t
,
269 pub msg_qbytes
: ::msglen_t
,
270 pub msg_lspid
: ::pid_t
,
271 pub msg_lrpid
: ::pid_t
,
272 __glibc_reserved4
: ::c_ulong
,
273 __glibc_reserved5
: ::c_ulong
,
276 pub struct statfs64
{
277 pub f_type
: ::c_uint
,
278 pub f_bsize
: ::c_uint
,
284 pub f_fsid
: ::fsid_t
,
285 pub f_namelen
: ::c_uint
,
286 pub f_frsize
: ::c_uint
,
287 pub f_flags
: ::c_uint
,
288 pub f_spare
: [::c_uint
; 4],
291 pub struct statvfs64
{
292 pub f_bsize
: ::c_ulong
,
293 pub f_frsize
: ::c_ulong
,
300 pub f_fsid
: ::c_ulong
,
301 pub f_flag
: ::c_ulong
,
302 pub f_namemax
: ::c_ulong
,
303 __f_spare
: [::c_int
; 6],
307 pub const SFD_CLOEXEC
: ::c_int
= 0x080000;
309 pub const NCCS
: usize = 32;
311 pub const O_TRUNC
: ::c_int
= 512;
312 pub const O_LARGEFILE
: ::c_int
= 0o0100000;
313 pub const O_NOATIME
: ::c_int
= 0o1000000;
314 pub const O_CLOEXEC
: ::c_int
= 0x80000;
315 pub const O_PATH
: ::c_int
= 0o10000000;
317 pub const EBFONT
: ::c_int
= 59;
318 pub const ENOSTR
: ::c_int
= 60;
319 pub const ENODATA
: ::c_int
= 61;
320 pub const ETIME
: ::c_int
= 62;
321 pub const ENOSR
: ::c_int
= 63;
322 pub const ENONET
: ::c_int
= 64;
323 pub const ENOPKG
: ::c_int
= 65;
324 pub const EREMOTE
: ::c_int
= 66;
325 pub const ENOLINK
: ::c_int
= 67;
326 pub const EADV
: ::c_int
= 68;
327 pub const ESRMNT
: ::c_int
= 69;
328 pub const ECOMM
: ::c_int
= 70;
329 pub const EPROTO
: ::c_int
= 71;
330 pub const EDOTDOT
: ::c_int
= 73;
332 pub const SA_NODEFER
: ::c_int
= 0x40000000;
333 pub const SA_RESETHAND
: ::c_int
= 0x80000000;
334 pub const SA_RESTART
: ::c_int
= 0x10000000;
335 pub const SA_NOCLDSTOP
: ::c_int
= 0x00000001;
337 pub const EPOLL_CLOEXEC
: ::c_int
= 0x80000;
339 pub const EFD_CLOEXEC
: ::c_int
= 0x80000;
341 pub const POSIX_FADV_DONTNEED
: ::c_int
= 6;
342 pub const POSIX_FADV_NOREUSE
: ::c_int
= 7;
344 pub const __SIZEOF_PTHREAD_CONDATTR_T
: usize = 4;
345 pub const __SIZEOF_PTHREAD_MUTEXATTR_T
: usize = 4;
346 pub const __SIZEOF_PTHREAD_MUTEX_T
: usize = 40;
347 pub const __SIZEOF_PTHREAD_RWLOCK_T
: usize = 56;
348 pub const __SIZEOF_PTHREAD_RWLOCKATTR_T
: usize = 8;
350 pub const EADDRINUSE
: ::c_int
= 98;
351 pub const EADDRNOTAVAIL
: ::c_int
= 99;
352 pub const ECONNABORTED
: ::c_int
= 103;
353 pub const ECONNREFUSED
: ::c_int
= 111;
354 pub const ECONNRESET
: ::c_int
= 104;
355 pub const EDEADLK
: ::c_int
= 35;
356 pub const ENOSYS
: ::c_int
= 38;
357 pub const ENOTCONN
: ::c_int
= 107;
358 pub const ETIMEDOUT
: ::c_int
= 110;
359 pub const FIOCLEX
: ::c_ulong
= 0x5451;
360 pub const FIONBIO
: ::c_ulong
= 0x5421;
361 pub const MAP_ANON
: ::c_int
= 0x20;
362 pub const O_ACCMODE
: ::c_int
= 3;
363 pub const O_APPEND
: ::c_int
= 1024;
364 pub const O_CREAT
: ::c_int
= 64;
365 pub const O_EXCL
: ::c_int
= 128;
366 pub const O_NONBLOCK
: ::c_int
= 2048;
367 pub const PTHREAD_STACK_MIN
: ::size_t
= 16384;
368 pub const RLIM_INFINITY
: ::rlim_t
= 0xffffffffffffffff;
369 pub const SA_NOCLDWAIT
: ::c_int
= 2;
370 pub const SA_ONSTACK
: ::c_int
= 0x08000000;
371 pub const SA_SIGINFO
: ::c_int
= 4;
372 pub const SIGBUS
: ::c_int
= 7;
373 pub const SIGSTKSZ
: ::size_t
= 0x2000;
374 pub const MINSIGSTKSZ
: ::size_t
= 2048;
375 pub const SIG_SETMASK
: ::c_int
= 2;
376 pub const SOCK_DGRAM
: ::c_int
= 2;
377 pub const SOCK_STREAM
: ::c_int
= 1;
378 pub const SOL_SOCKET
: ::c_int
= 1;
379 pub const SO_BROADCAST
: ::c_int
= 6;
380 pub const SO_ERROR
: ::c_int
= 4;
381 pub const SO_RCVTIMEO
: ::c_int
= 20;
382 pub const SO_REUSEADDR
: ::c_int
= 2;
383 pub const SO_SNDTIMEO
: ::c_int
= 21;
384 pub const SO_BINDTODEVICE
: ::c_int
= 25;
385 pub const SO_TIMESTAMP
: ::c_int
= 29;
386 pub const SO_MARK
: ::c_int
= 36;
387 pub const SO_PROTOCOL
: ::c_int
= 38;
388 pub const SO_DOMAIN
: ::c_int
= 39;
389 pub const SO_RXQ_OVFL
: ::c_int
= 40;
390 pub const SO_PEEK_OFF
: ::c_int
= 42;
391 pub const SO_BUSY_POLL
: ::c_int
= 46;
393 pub const RLIMIT_RSS
: ::c_int
= 5;
394 pub const RLIMIT_NOFILE
: ::c_int
= 7;
395 pub const RLIMIT_AS
: ::c_int
= 9;
396 pub const RLIMIT_NPROC
: ::c_int
= 6;
397 pub const RLIMIT_MEMLOCK
: ::c_int
= 8;
398 pub const RLIMIT_RTTIME
: ::c_int
= 15;
399 pub const RLIMIT_NLIMITS
: ::c_int
= 16;
401 pub const O_NOCTTY
: ::c_int
= 256;
402 pub const O_SYNC
: ::c_int
= 1052672;
403 pub const O_RSYNC
: ::c_int
= 1052672;
404 pub const O_DSYNC
: ::c_int
= 4096;
405 pub const O_FSYNC
: ::c_int
= 0x101000;
406 pub const O_DIRECT
: ::c_int
= 0x4000;
407 pub const O_DIRECTORY
: ::c_int
= 0x10000;
408 pub const O_NOFOLLOW
: ::c_int
= 0x20000;
410 pub const SOCK_NONBLOCK
: ::c_int
= O_NONBLOCK
;
412 pub const LC_PAPER
: ::c_int
= 7;
413 pub const LC_NAME
: ::c_int
= 8;
414 pub const LC_ADDRESS
: ::c_int
= 9;
415 pub const LC_TELEPHONE
: ::c_int
= 10;
416 pub const LC_MEASUREMENT
: ::c_int
= 11;
417 pub const LC_IDENTIFICATION
: ::c_int
= 12;
418 pub const LC_PAPER_MASK
: ::c_int
= (1 << LC_PAPER
);
419 pub const LC_NAME_MASK
: ::c_int
= (1 << LC_NAME
);
420 pub const LC_ADDRESS_MASK
: ::c_int
= (1 << LC_ADDRESS
);
421 pub const LC_TELEPHONE_MASK
: ::c_int
= (1 << LC_TELEPHONE
);
422 pub const LC_MEASUREMENT_MASK
: ::c_int
= (1 << LC_MEASUREMENT
);
423 pub const LC_IDENTIFICATION_MASK
: ::c_int
= (1 << LC_IDENTIFICATION
);
424 pub const LC_ALL_MASK
: ::c_int
= ::LC_CTYPE_MASK
434 | LC_MEASUREMENT_MASK
435 | LC_IDENTIFICATION_MASK
;
437 pub const MAP_ANONYMOUS
: ::c_int
= 0x0020;
438 pub const MAP_GROWSDOWN
: ::c_int
= 0x0100;
439 pub const MAP_DENYWRITE
: ::c_int
= 0x0800;
440 pub const MAP_EXECUTABLE
: ::c_int
= 0x01000;
441 pub const MAP_LOCKED
: ::c_int
= 0x02000;
442 pub const MAP_NORESERVE
: ::c_int
= 0x04000;
443 pub const MAP_POPULATE
: ::c_int
= 0x08000;
444 pub const MAP_NONBLOCK
: ::c_int
= 0x010000;
445 pub const MAP_STACK
: ::c_int
= 0x020000;
447 pub const EDEADLOCK
: ::c_int
= 35;
448 pub const ENAMETOOLONG
: ::c_int
= 36;
449 pub const ENOLCK
: ::c_int
= 37;
450 pub const ENOTEMPTY
: ::c_int
= 39;
451 pub const ELOOP
: ::c_int
= 40;
452 pub const ENOMSG
: ::c_int
= 42;
453 pub const EIDRM
: ::c_int
= 43;
454 pub const ECHRNG
: ::c_int
= 44;
455 pub const EL2NSYNC
: ::c_int
= 45;
456 pub const EL3HLT
: ::c_int
= 46;
457 pub const EL3RST
: ::c_int
= 47;
458 pub const ELNRNG
: ::c_int
= 48;
459 pub const EUNATCH
: ::c_int
= 49;
460 pub const ENOCSI
: ::c_int
= 50;
461 pub const EL2HLT
: ::c_int
= 51;
462 pub const EBADE
: ::c_int
= 52;
463 pub const EBADR
: ::c_int
= 53;
464 pub const EXFULL
: ::c_int
= 54;
465 pub const ENOANO
: ::c_int
= 55;
466 pub const EBADRQC
: ::c_int
= 56;
467 pub const EBADSLT
: ::c_int
= 57;
468 pub const EMULTIHOP
: ::c_int
= 72;
469 pub const EOVERFLOW
: ::c_int
= 75;
470 pub const ENOTUNIQ
: ::c_int
= 76;
471 pub const EBADFD
: ::c_int
= 77;
472 pub const EBADMSG
: ::c_int
= 74;
473 pub const EREMCHG
: ::c_int
= 78;
474 pub const ELIBACC
: ::c_int
= 79;
475 pub const ELIBBAD
: ::c_int
= 80;
476 pub const ELIBSCN
: ::c_int
= 81;
477 pub const ELIBMAX
: ::c_int
= 82;
478 pub const ELIBEXEC
: ::c_int
= 83;
479 pub const EILSEQ
: ::c_int
= 84;
480 pub const ERESTART
: ::c_int
= 85;
481 pub const ESTRPIPE
: ::c_int
= 86;
482 pub const EUSERS
: ::c_int
= 87;
483 pub const ENOTSOCK
: ::c_int
= 88;
484 pub const EDESTADDRREQ
: ::c_int
= 89;
485 pub const EMSGSIZE
: ::c_int
= 90;
486 pub const EPROTOTYPE
: ::c_int
= 91;
487 pub const ENOPROTOOPT
: ::c_int
= 92;
488 pub const EPROTONOSUPPORT
: ::c_int
= 93;
489 pub const ESOCKTNOSUPPORT
: ::c_int
= 94;
490 pub const EOPNOTSUPP
: ::c_int
= 95;
491 pub const ENOTSUP
: ::c_int
= EOPNOTSUPP
;
492 pub const EPFNOSUPPORT
: ::c_int
= 96;
493 pub const EAFNOSUPPORT
: ::c_int
= 97;
494 pub const ENETDOWN
: ::c_int
= 100;
495 pub const ENETUNREACH
: ::c_int
= 101;
496 pub const ENETRESET
: ::c_int
= 102;
497 pub const ENOBUFS
: ::c_int
= 105;
498 pub const EISCONN
: ::c_int
= 106;
499 pub const ESHUTDOWN
: ::c_int
= 108;
500 pub const ETOOMANYREFS
: ::c_int
= 109;
501 pub const EHOSTDOWN
: ::c_int
= 112;
502 pub const EHOSTUNREACH
: ::c_int
= 113;
503 pub const EALREADY
: ::c_int
= 114;
504 pub const EINPROGRESS
: ::c_int
= 115;
505 pub const ESTALE
: ::c_int
= 116;
506 pub const EUCLEAN
: ::c_int
= 117;
507 pub const ENOTNAM
: ::c_int
= 118;
508 pub const ENAVAIL
: ::c_int
= 119;
509 pub const EISNAM
: ::c_int
= 120;
510 pub const EREMOTEIO
: ::c_int
= 121;
511 pub const EDQUOT
: ::c_int
= 122;
512 pub const ENOMEDIUM
: ::c_int
= 123;
513 pub const EMEDIUMTYPE
: ::c_int
= 124;
514 pub const ECANCELED
: ::c_int
= 125;
515 pub const ENOKEY
: ::c_int
= 126;
516 pub const EKEYEXPIRED
: ::c_int
= 127;
517 pub const EKEYREVOKED
: ::c_int
= 128;
518 pub const EKEYREJECTED
: ::c_int
= 129;
519 pub const EOWNERDEAD
: ::c_int
= 130;
520 pub const ENOTRECOVERABLE
: ::c_int
= 131;
521 pub const EHWPOISON
: ::c_int
= 133;
522 pub const ERFKILL
: ::c_int
= 132;
524 pub const SOCK_SEQPACKET
: ::c_int
= 5;
526 pub const SO_TYPE
: ::c_int
= 3;
527 pub const SO_DONTROUTE
: ::c_int
= 5;
528 pub const SO_SNDBUF
: ::c_int
= 7;
529 pub const SO_RCVBUF
: ::c_int
= 8;
530 pub const SO_KEEPALIVE
: ::c_int
= 9;
531 pub const SO_OOBINLINE
: ::c_int
= 10;
532 pub const SO_PRIORITY
: ::c_int
= 12;
533 pub const SO_LINGER
: ::c_int
= 13;
534 pub const SO_BSDCOMPAT
: ::c_int
= 14;
535 pub const SO_REUSEPORT
: ::c_int
= 15;
536 pub const SO_PASSCRED
: ::c_int
= 16;
537 pub const SO_PEERCRED
: ::c_int
= 17;
538 pub const SO_RCVLOWAT
: ::c_int
= 18;
539 pub const SO_SNDLOWAT
: ::c_int
= 19;
540 pub const SO_ACCEPTCONN
: ::c_int
= 30;
541 pub const SO_SNDBUFFORCE
: ::c_int
= 32;
542 pub const SO_RCVBUFFORCE
: ::c_int
= 33;
544 pub const TCP_COOKIE_TRANSACTIONS
: ::c_int
= 15;
545 pub const TCP_THIN_LINEAR_TIMEOUTS
: ::c_int
= 16;
546 pub const TCP_THIN_DUPACK
: ::c_int
= 17;
547 pub const TCP_USER_TIMEOUT
: ::c_int
= 18;
548 pub const TCP_REPAIR
: ::c_int
= 19;
549 pub const TCP_REPAIR_QUEUE
: ::c_int
= 20;
550 pub const TCP_QUEUE_SEQ
: ::c_int
= 21;
551 pub const TCP_REPAIR_OPTIONS
: ::c_int
= 22;
552 pub const TCP_FASTOPEN
: ::c_int
= 23;
553 pub const TCP_TIMESTAMP
: ::c_int
= 24;
555 pub const SIGCHLD
: ::c_int
= 17;
556 pub const SIGUSR1
: ::c_int
= 10;
557 pub const SIGUSR2
: ::c_int
= 12;
558 pub const SIGCONT
: ::c_int
= 18;
559 pub const SIGSTOP
: ::c_int
= 19;
560 pub const SIGTSTP
: ::c_int
= 20;
561 pub const SIGURG
: ::c_int
= 23;
562 pub const SIGIO
: ::c_int
= 29;
563 pub const SIGSYS
: ::c_int
= 31;
564 pub const SIGSTKFLT
: ::c_int
= 16;
565 pub const SIGUNUSED
: ::c_int
= 31;
566 pub const SIGTTIN
: ::c_int
= 21;
567 pub const SIGTTOU
: ::c_int
= 22;
568 pub const SIGXCPU
: ::c_int
= 24;
569 pub const SIGXFSZ
: ::c_int
= 25;
570 pub const SIGVTALRM
: ::c_int
= 26;
571 pub const SIGPROF
: ::c_int
= 27;
572 pub const SIGWINCH
: ::c_int
= 28;
573 pub const SIGPOLL
: ::c_int
= 29;
574 pub const SIGPWR
: ::c_int
= 30;
575 pub const SIG_BLOCK
: ::c_int
= 0x000000;
576 pub const SIG_UNBLOCK
: ::c_int
= 0x01;
578 pub const BUFSIZ
: ::c_uint
= 8192;
579 pub const TMP_MAX
: ::c_uint
= 238328;
580 pub const FOPEN_MAX
: ::c_uint
= 16;
581 pub const POSIX_MADV_DONTNEED
: ::c_int
= 4;
582 pub const _SC_EQUIV_CLASS_MAX
: ::c_int
= 41;
583 pub const _SC_CHARCLASS_NAME_MAX
: ::c_int
= 45;
584 pub const _SC_PII
: ::c_int
= 53;
585 pub const _SC_PII_XTI
: ::c_int
= 54;
586 pub const _SC_PII_SOCKET
: ::c_int
= 55;
587 pub const _SC_PII_INTERNET
: ::c_int
= 56;
588 pub const _SC_PII_OSI
: ::c_int
= 57;
589 pub const _SC_POLL
: ::c_int
= 58;
590 pub const _SC_SELECT
: ::c_int
= 59;
591 pub const _SC_PII_INTERNET_STREAM
: ::c_int
= 61;
592 pub const _SC_PII_INTERNET_DGRAM
: ::c_int
= 62;
593 pub const _SC_PII_OSI_COTS
: ::c_int
= 63;
594 pub const _SC_PII_OSI_CLTS
: ::c_int
= 64;
595 pub const _SC_PII_OSI_M
: ::c_int
= 65;
596 pub const _SC_T_IOV_MAX
: ::c_int
= 66;
597 pub const _SC_2_C_VERSION
: ::c_int
= 96;
598 pub const _SC_CHAR_BIT
: ::c_int
= 101;
599 pub const _SC_CHAR_MAX
: ::c_int
= 102;
600 pub const _SC_CHAR_MIN
: ::c_int
= 103;
601 pub const _SC_INT_MAX
: ::c_int
= 104;
602 pub const _SC_INT_MIN
: ::c_int
= 105;
603 pub const _SC_LONG_BIT
: ::c_int
= 106;
604 pub const _SC_WORD_BIT
: ::c_int
= 107;
605 pub const _SC_MB_LEN_MAX
: ::c_int
= 108;
606 pub const _SC_SSIZE_MAX
: ::c_int
= 110;
607 pub const _SC_SCHAR_MAX
: ::c_int
= 111;
608 pub const _SC_SCHAR_MIN
: ::c_int
= 112;
609 pub const _SC_SHRT_MAX
: ::c_int
= 113;
610 pub const _SC_SHRT_MIN
: ::c_int
= 114;
611 pub const _SC_UCHAR_MAX
: ::c_int
= 115;
612 pub const _SC_UINT_MAX
: ::c_int
= 116;
613 pub const _SC_ULONG_MAX
: ::c_int
= 117;
614 pub const _SC_USHRT_MAX
: ::c_int
= 118;
615 pub const _SC_NL_ARGMAX
: ::c_int
= 119;
616 pub const _SC_NL_LANGMAX
: ::c_int
= 120;
617 pub const _SC_NL_MSGMAX
: ::c_int
= 121;
618 pub const _SC_NL_NMAX
: ::c_int
= 122;
619 pub const _SC_NL_SETMAX
: ::c_int
= 123;
620 pub const _SC_NL_TEXTMAX
: ::c_int
= 124;
621 pub const _SC_BASE
: ::c_int
= 134;
622 pub const _SC_C_LANG_SUPPORT
: ::c_int
= 135;
623 pub const _SC_C_LANG_SUPPORT_R
: ::c_int
= 136;
624 pub const _SC_DEVICE_IO
: ::c_int
= 140;
625 pub const _SC_DEVICE_SPECIFIC
: ::c_int
= 141;
626 pub const _SC_DEVICE_SPECIFIC_R
: ::c_int
= 142;
627 pub const _SC_FD_MGMT
: ::c_int
= 143;
628 pub const _SC_FIFO
: ::c_int
= 144;
629 pub const _SC_PIPE
: ::c_int
= 145;
630 pub const _SC_FILE_ATTRIBUTES
: ::c_int
= 146;
631 pub const _SC_FILE_LOCKING
: ::c_int
= 147;
632 pub const _SC_FILE_SYSTEM
: ::c_int
= 148;
633 pub const _SC_MULTI_PROCESS
: ::c_int
= 150;
634 pub const _SC_SINGLE_PROCESS
: ::c_int
= 151;
635 pub const _SC_NETWORKING
: ::c_int
= 152;
636 pub const _SC_REGEX_VERSION
: ::c_int
= 156;
637 pub const _SC_SIGNALS
: ::c_int
= 158;
638 pub const _SC_SYSTEM_DATABASE
: ::c_int
= 162;
639 pub const _SC_SYSTEM_DATABASE_R
: ::c_int
= 163;
640 pub const _SC_USER_GROUPS
: ::c_int
= 166;
641 pub const _SC_USER_GROUPS_R
: ::c_int
= 167;
642 pub const _SC_LEVEL1_ICACHE_SIZE
: ::c_int
= 185;
643 pub const _SC_LEVEL1_ICACHE_ASSOC
: ::c_int
= 186;
644 pub const _SC_LEVEL1_ICACHE_LINESIZE
: ::c_int
= 187;
645 pub const _SC_LEVEL1_DCACHE_SIZE
: ::c_int
= 188;
646 pub const _SC_LEVEL1_DCACHE_ASSOC
: ::c_int
= 189;
647 pub const _SC_LEVEL1_DCACHE_LINESIZE
: ::c_int
= 190;
648 pub const _SC_LEVEL2_CACHE_SIZE
: ::c_int
= 191;
649 pub const _SC_LEVEL2_CACHE_ASSOC
: ::c_int
= 192;
650 pub const _SC_LEVEL2_CACHE_LINESIZE
: ::c_int
= 193;
651 pub const _SC_LEVEL3_CACHE_SIZE
: ::c_int
= 194;
652 pub const _SC_LEVEL3_CACHE_ASSOC
: ::c_int
= 195;
653 pub const _SC_LEVEL3_CACHE_LINESIZE
: ::c_int
= 196;
654 pub const _SC_LEVEL4_CACHE_SIZE
: ::c_int
= 197;
655 pub const _SC_LEVEL4_CACHE_ASSOC
: ::c_int
= 198;
656 pub const _SC_LEVEL4_CACHE_LINESIZE
: ::c_int
= 199;
657 pub const O_ASYNC
: ::c_int
= 0x2000;
658 pub const O_NDELAY
: ::c_int
= 0x800;
659 pub const ST_RELATIME
: ::c_ulong
= 4096;
660 pub const NI_MAXHOST
: ::socklen_t
= 1025;
662 pub const ADFS_SUPER_MAGIC
: ::c_int
= 0x0000adf5;
663 pub const AFFS_SUPER_MAGIC
: ::c_int
= 0x0000adff;
664 pub const CODA_SUPER_MAGIC
: ::c_int
= 0x73757245;
665 pub const CRAMFS_MAGIC
: ::c_int
= 0x28cd3d45;
666 pub const EFS_SUPER_MAGIC
: ::c_int
= 0x00414a53;
667 pub const EXT2_SUPER_MAGIC
: ::c_int
= 0x0000ef53;
668 pub const EXT3_SUPER_MAGIC
: ::c_int
= 0x0000ef53;
669 pub const EXT4_SUPER_MAGIC
: ::c_int
= 0x0000ef53;
670 pub const HPFS_SUPER_MAGIC
: ::c_int
= 0xf995e849;
671 pub const HUGETLBFS_MAGIC
: ::c_int
= 0x958458f6;
672 pub const ISOFS_SUPER_MAGIC
: ::c_int
= 0x00009660;
673 pub const JFFS2_SUPER_MAGIC
: ::c_int
= 0x000072b6;
674 pub const MINIX_SUPER_MAGIC
: ::c_int
= 0x0000137f;
675 pub const MINIX_SUPER_MAGIC2
: ::c_int
= 0x0000138f;
676 pub const MINIX2_SUPER_MAGIC
: ::c_int
= 0x00002468;
677 pub const MINIX2_SUPER_MAGIC2
: ::c_int
= 0x00002478;
678 pub const MSDOS_SUPER_MAGIC
: ::c_int
= 0x00004d44;
679 pub const NCP_SUPER_MAGIC
: ::c_int
= 0x0000564c;
680 pub const NFS_SUPER_MAGIC
: ::c_int
= 0x00006969;
681 pub const OPENPROM_SUPER_MAGIC
: ::c_int
= 0x00009fa1;
682 pub const PROC_SUPER_MAGIC
: ::c_int
= 0x00009fa0;
683 pub const QNX4_SUPER_MAGIC
: ::c_int
= 0x0000002f;
684 pub const REISERFS_SUPER_MAGIC
: ::c_int
= 0x52654973;
685 pub const SMB_SUPER_MAGIC
: ::c_int
= 0x0000517b;
686 pub const TMPFS_MAGIC
: ::c_int
= 0x01021994;
687 pub const USBDEVICE_SUPER_MAGIC
: ::c_int
= 0x00009fa2;
689 pub const VEOF
: usize = 4;
690 pub const VEOL
: usize = 11;
691 pub const VEOL2
: usize = 16;
692 pub const VMIN
: usize = 6;
693 pub const IEXTEN
: ::tcflag_t
= 0x00008000;
694 pub const TOSTOP
: ::tcflag_t
= 0x00000100;
695 pub const FLUSHO
: ::tcflag_t
= 0x00001000;
697 pub const CPU_SETSIZE
: ::c_int
= 0x400;
699 pub const EXTPROC
: ::tcflag_t
= 0x00010000;
701 pub const PTRACE_TRACEME
: ::c_uint
= 0;
702 pub const PTRACE_PEEKTEXT
: ::c_uint
= 1;
703 pub const PTRACE_PEEKDATA
: ::c_uint
= 2;
704 pub const PTRACE_PEEKUSER
: ::c_uint
= 3;
705 pub const PTRACE_POKETEXT
: ::c_uint
= 4;
706 pub const PTRACE_POKEDATA
: ::c_uint
= 5;
707 pub const PTRACE_POKEUSER
: ::c_uint
= 6;
708 pub const PTRACE_CONT
: ::c_uint
= 7;
709 pub const PTRACE_KILL
: ::c_uint
= 8;
710 pub const PTRACE_SINGLESTEP
: ::c_uint
= 9;
711 pub const PTRACE_GETREGS
: ::c_uint
= 12;
712 pub const PTRACE_SETREGS
: ::c_uint
= 13;
713 pub const PTRACE_GETFPREGS
: ::c_uint
= 14;
714 pub const PTRACE_SETFPREGS
: ::c_uint
= 15;
715 pub const PTRACE_ATTACH
: ::c_uint
= 16;
716 pub const PTRACE_DETACH
: ::c_uint
= 17;
717 pub const PTRACE_SYSCALL
: ::c_uint
= 24;
718 pub const PTRACE_SETOPTIONS
: ::c_uint
= 0x4200;
719 pub const PTRACE_GETEVENTMSG
: ::c_uint
= 0x4201;
720 pub const PTRACE_GETSIGINFO
: ::c_uint
= 0x4202;
721 pub const PTRACE_SETSIGINFO
: ::c_uint
= 0x4203;
722 pub const PTRACE_GETREGSET
: ::c_uint
= 0x4204;
723 pub const PTRACE_SETREGSET
: ::c_uint
= 0x4205;
724 pub const PTRACE_SEIZE
: ::c_uint
= 0x4206;
725 pub const PTRACE_INTERRUPT
: ::c_uint
= 0x4207;
726 pub const PTRACE_LISTEN
: ::c_uint
= 0x4208;
727 pub const PTRACE_PEEKSIGINFO
: ::c_uint
= 0x4209;
729 pub const EPOLLWAKEUP
: ::c_int
= 0x20000000;
731 pub const MAP_HUGETLB
: ::c_int
= 0x040000;
733 pub const EFD_NONBLOCK
: ::c_int
= 0x800;
735 pub const F_GETLK
: ::c_int
= 5;
736 pub const F_GETOWN
: ::c_int
= 9;
737 pub const F_SETOWN
: ::c_int
= 8;
738 pub const F_SETLK
: ::c_int
= 6;
739 pub const F_SETLKW
: ::c_int
= 7;
741 pub const SEEK_DATA
: ::c_int
= 3;
742 pub const SEEK_HOLE
: ::c_int
= 4;
744 pub const SFD_NONBLOCK
: ::c_int
= 0x0800;
746 pub const TCSANOW
: ::c_int
= 0;
747 pub const TCSADRAIN
: ::c_int
= 1;
748 pub const TCSAFLUSH
: ::c_int
= 2;
750 pub const TCGETS
: ::c_ulong
= 0x5401;
751 pub const TCSETS
: ::c_ulong
= 0x5402;
752 pub const TCSETSW
: ::c_ulong
= 0x5403;
753 pub const TCSETSF
: ::c_ulong
= 0x5404;
754 pub const TCGETA
: ::c_ulong
= 0x5405;
755 pub const TCSETA
: ::c_ulong
= 0x5406;
756 pub const TCSETAW
: ::c_ulong
= 0x5407;
757 pub const TCSETAF
: ::c_ulong
= 0x5408;
758 pub const TCSBRK
: ::c_ulong
= 0x5409;
759 pub const TCXONC
: ::c_ulong
= 0x540A;
760 pub const TCFLSH
: ::c_ulong
= 0x540B;
761 pub const TIOCGSOFTCAR
: ::c_ulong
= 0x5419;
762 pub const TIOCSSOFTCAR
: ::c_ulong
= 0x541A;
763 pub const TIOCINQ
: ::c_ulong
= 0x541B;
764 pub const TIOCLINUX
: ::c_ulong
= 0x541C;
765 pub const TIOCGSERIAL
: ::c_ulong
= 0x541E;
766 pub const TIOCEXCL
: ::c_ulong
= 0x540C;
767 pub const TIOCNXCL
: ::c_ulong
= 0x540D;
768 pub const TIOCSCTTY
: ::c_ulong
= 0x540E;
769 pub const TIOCGPGRP
: ::c_ulong
= 0x540F;
770 pub const TIOCSPGRP
: ::c_ulong
= 0x5410;
771 pub const TIOCOUTQ
: ::c_ulong
= 0x5411;
772 pub const TIOCSTI
: ::c_ulong
= 0x5412;
773 pub const TIOCGWINSZ
: ::c_ulong
= 0x5413;
774 pub const TIOCSWINSZ
: ::c_ulong
= 0x5414;
775 pub const TIOCMGET
: ::c_ulong
= 0x5415;
776 pub const TIOCMBIS
: ::c_ulong
= 0x5416;
777 pub const TIOCMBIC
: ::c_ulong
= 0x5417;
778 pub const TIOCMSET
: ::c_ulong
= 0x5418;
779 pub const FIONREAD
: ::c_ulong
= 0x541B;
780 pub const TIOCCONS
: ::c_ulong
= 0x541D;
782 pub const RTLD_DEEPBIND
: ::c_int
= 0x8;
783 pub const RTLD_GLOBAL
: ::c_int
= 0x100;
784 pub const RTLD_NOLOAD
: ::c_int
= 0x4;
786 pub const LINUX_REBOOT_MAGIC1
: ::c_int
= 0xfee1dead;
787 pub const LINUX_REBOOT_MAGIC2
: ::c_int
= 672274793;
788 pub const LINUX_REBOOT_MAGIC2A
: ::c_int
= 85072278;
789 pub const LINUX_REBOOT_MAGIC2B
: ::c_int
= 369367448;
790 pub const LINUX_REBOOT_MAGIC2C
: ::c_int
= 537993216;
792 pub const LINUX_REBOOT_CMD_RESTART
: ::c_int
= 0x01234567;
793 pub const LINUX_REBOOT_CMD_HALT
: ::c_int
= 0xCDEF0123;
794 pub const LINUX_REBOOT_CMD_CAD_ON
: ::c_int
= 0x89ABCDEF;
795 pub const LINUX_REBOOT_CMD_CAD_OFF
: ::c_int
= 0x00000000;
796 pub const LINUX_REBOOT_CMD_POWER_OFF
: ::c_int
= 0x4321FEDC;
797 pub const LINUX_REBOOT_CMD_RESTART2
: ::c_int
= 0xA1B2C3D4;
798 pub const LINUX_REBOOT_CMD_SW_SUSPEND
: ::c_int
= 0xD000FCE2;
799 pub const LINUX_REBOOT_CMD_KEXEC
: ::c_int
= 0x45584543;
801 pub const SYS_pivot_root
: ::c_long
= 217;
802 pub const SYS_gettid
: ::c_long
= 236;
803 pub const SYS_perf_event_open
: ::c_long
= 331;
804 pub const SYS_memfd_create
: ::c_long
= 350;
806 pub const VTIME
: usize = 5;
807 pub const VSWTC
: usize = 7;
808 pub const VSTART
: usize = 8;
809 pub const VSTOP
: usize = 9;
810 pub const VSUSP
: usize = 10;
811 pub const VREPRINT
: usize = 12;
812 pub const VDISCARD
: usize = 13;
813 pub const VWERASE
: usize = 14;
814 pub const OLCUC
: ::tcflag_t
= 0o000002;
815 pub const ONLCR
: ::tcflag_t
= 0o000004;
816 pub const NLDLY
: ::tcflag_t
= 0o000400;
817 pub const CRDLY
: ::tcflag_t
= 0o003000;
818 pub const CR1
: ::tcflag_t
= 0x00000200;
819 pub const CR2
: ::tcflag_t
= 0x00000400;
820 pub const CR3
: ::tcflag_t
= 0x00000600;
821 pub const TABDLY
: ::tcflag_t
= 0o014000;
822 pub const TAB1
: ::tcflag_t
= 0x00000800;
823 pub const TAB2
: ::tcflag_t
= 0x00001000;
824 pub const TAB3
: ::tcflag_t
= 0x00001800;
825 pub const BSDLY
: ::tcflag_t
= 0o020000;
826 pub const BS1
: ::tcflag_t
= 0x00002000;
827 pub const FFDLY
: ::tcflag_t
= 0o100000;
828 pub const FF1
: ::tcflag_t
= 0x00008000;
829 pub const VTDLY
: ::tcflag_t
= 0o040000;
830 pub const VT1
: ::tcflag_t
= 0x00004000;
831 pub const XTABS
: ::tcflag_t
= 0o014000;
833 pub const TIOCM_LE
: ::c_int
= 0x001;
834 pub const TIOCM_DTR
: ::c_int
= 0x002;
835 pub const TIOCM_RTS
: ::c_int
= 0x004;
836 pub const TIOCM_ST
: ::c_int
= 0x008;
837 pub const TIOCM_SR
: ::c_int
= 0x010;
838 pub const TIOCM_CTS
: ::c_int
= 0x020;
839 pub const TIOCM_CAR
: ::c_int
= 0x040;
840 pub const TIOCM_RNG
: ::c_int
= 0x080;
841 pub const TIOCM_DSR
: ::c_int
= 0x100;
842 pub const TIOCM_CD
: ::c_int
= TIOCM_CAR
;
843 pub const TIOCM_RI
: ::c_int
= TIOCM_RNG
;
845 pub const SIGEV_THREAD_ID
: ::c_int
= 4;
847 pub const CBAUD
: ::speed_t
= 0o010017;
848 pub const B0
: ::speed_t
= 0o000000;
849 pub const B50
: ::speed_t
= 0o000001;
850 pub const B75
: ::speed_t
= 0o000002;
851 pub const B110
: ::speed_t
= 0o000003;
852 pub const B134
: ::speed_t
= 0o000004;
853 pub const B150
: ::speed_t
= 0o000005;
854 pub const B200
: ::speed_t
= 0o000006;
855 pub const B300
: ::speed_t
= 0o000007;
856 pub const B600
: ::speed_t
= 0o000010;
857 pub const B1200
: ::speed_t
= 0o000011;
858 pub const B1800
: ::speed_t
= 0o000012;
859 pub const B2400
: ::speed_t
= 0o000013;
860 pub const B4800
: ::speed_t
= 0o000014;
861 pub const B9600
: ::speed_t
= 0o000015;
862 pub const B19200
: ::speed_t
= 0o000016;
863 pub const B38400
: ::speed_t
= 0o000017;
864 pub const EXTA
: ::speed_t
= B19200
;
865 pub const EXTB
: ::speed_t
= B38400
;
866 pub const CSIZE
: ::tcflag_t
= 0o000060;
867 pub const CS6
: ::tcflag_t
= 0o000020;
868 pub const CS7
: ::tcflag_t
= 0o000040;
869 pub const CS8
: ::tcflag_t
= 0o000060;
870 pub const CSTOPB
: ::tcflag_t
= 0o000100;
871 pub const CREAD
: ::tcflag_t
= 0o000200;
872 pub const PARENB
: ::tcflag_t
= 0o000400;
873 pub const PARODD
: ::tcflag_t
= 0o001000;
874 pub const HUPCL
: ::tcflag_t
= 0o002000;
875 pub const CLOCAL
: ::tcflag_t
= 0o004000;
876 pub const CBAUDEX
: ::tcflag_t
= 0o010000;
877 pub const B57600
: ::speed_t
= 0o010001;
878 pub const B115200
: ::speed_t
= 0o010002;
879 pub const B230400
: ::speed_t
= 0o010003;
880 pub const B460800
: ::speed_t
= 0o010004;
881 pub const B500000
: ::speed_t
= 0o010005;
882 pub const B576000
: ::speed_t
= 0o010006;
883 pub const B921600
: ::speed_t
= 0o010007;
884 pub const B1000000
: ::speed_t
= 0o010010;
885 pub const B1152000
: ::speed_t
= 0o010011;
886 pub const B1500000
: ::speed_t
= 0o010012;
887 pub const B2000000
: ::speed_t
= 0o010013;
888 pub const B2500000
: ::speed_t
= 0o010014;
889 pub const B3000000
: ::speed_t
= 0o010015;
890 pub const B3500000
: ::speed_t
= 0o010016;
891 pub const B4000000
: ::speed_t
= 0o010017;
892 pub const CIBAUD
: ::tcflag_t
= 0o02003600000;
894 pub const ISIG
: ::tcflag_t
= 0o000001;
895 pub const ICANON
: ::tcflag_t
= 0o000002;
896 pub const XCASE
: ::tcflag_t
= 0o000004;
897 pub const ECHOE
: ::tcflag_t
= 0o000020;
898 pub const ECHOK
: ::tcflag_t
= 0o000040;
899 pub const ECHONL
: ::tcflag_t
= 0o000100;
900 pub const NOFLSH
: ::tcflag_t
= 0o000200;
901 pub const ECHOCTL
: ::tcflag_t
= 0o001000;
902 pub const ECHOPRT
: ::tcflag_t
= 0o002000;
903 pub const ECHOKE
: ::tcflag_t
= 0o004000;
904 pub const PENDIN
: ::tcflag_t
= 0o040000;
906 pub const POLLWRNORM
: ::c_short
= 0x004;
907 pub const POLLWRBAND
: ::c_short
= 0x100;
909 pub const IXON
: ::tcflag_t
= 0o002000;
910 pub const IXOFF
: ::tcflag_t
= 0o010000;
912 #[link(name = "util")]
914 pub fn sysctl(name
: *mut ::c_int
,
917 oldlenp
: *mut ::size_t
,
921 pub fn ioctl(fd
: ::c_int
, request
: ::c_ulong
, ...) -> ::c_int
;
922 pub fn backtrace(buf
: *mut *mut ::c_void
,
923 sz
: ::c_int
) -> ::c_int
;
924 pub fn glob64(pattern
: *const ::c_char
,
926 errfunc
: ::dox
::Option
<extern fn(epath
: *const ::c_char
,
929 pglob
: *mut glob64_t
) -> ::c_int
;
930 pub fn globfree64(pglob
: *mut glob64_t
);
931 pub fn ptrace(request
: ::c_uint
, ...) -> ::c_long
;
932 pub fn pthread_attr_getaffinity_np(attr
: *const ::pthread_attr_t
,
933 cpusetsize
: ::size_t
,
934 cpuset
: *mut ::cpu_set_t
) -> ::c_int
;
935 pub fn pthread_attr_setaffinity_np(attr
: *mut ::pthread_attr_t
,
936 cpusetsize
: ::size_t
,
937 cpuset
: *const ::cpu_set_t
) -> ::c_int
;
938 pub fn getpriority(which
: ::__priority_which_t
, who
: ::id_t
) -> ::c_int
;
939 pub fn setpriority(which
: ::__priority_which_t
, who
: ::id_t
,
940 prio
: ::c_int
) -> ::c_int
;
941 pub fn pthread_getaffinity_np(thread
: ::pthread_t
,
942 cpusetsize
: ::size_t
,
943 cpuset
: *mut ::cpu_set_t
) -> ::c_int
;
944 pub fn pthread_setaffinity_np(thread
: ::pthread_t
,
945 cpusetsize
: ::size_t
,
946 cpuset
: *const ::cpu_set_t
) -> ::c_int
;
947 pub fn sched_getcpu() -> ::c_int
;
948 pub fn getcontext(ucp
: *mut ucontext_t
) -> ::c_int
;
949 pub fn setcontext(ucp
: *const ucontext_t
) -> ::c_int
;
950 pub fn makecontext(ucp
: *mut ucontext_t
,
953 pub fn swapcontext(uocp
: *mut ucontext_t
,
954 ucp
: *const ucontext_t
) -> ::c_int
;