Lines Matching defs:c_int

10 pub type c_int = i32;
140 pub ipv6mr_interface: ::c_int,
148 pub h_addrtype: ::c_int,
149 pub h_length: ::c_int,
159 pub fd: ::c_int,
172 pub l_onoff: ::c_int,
173 pub l_linger: ::c_int,
198 pub s_port: ::c_int,
205 pub p_proto: ::c_int,
209 pub const INT_MIN: c_int = -2147483648;
210 pub const INT_MAX: c_int = 2147483647;
229 pub const FD_CLOEXEC: ::c_int = 0x1;
236 pub const USRQUOTA: ::c_int = 0;
237 pub const GRPQUOTA: ::c_int = 1;
240 pub const SIGIOT: ::c_int = 6;
254 pub const LOG_EMERG: ::c_int = 0;
255 pub const LOG_ALERT: ::c_int = 1;
256 pub const LOG_CRIT: ::c_int = 2;
257 pub const LOG_ERR: ::c_int = 3;
258 pub const LOG_WARNING: ::c_int = 4;
259 pub const LOG_NOTICE: ::c_int = 5;
260 pub const LOG_INFO: ::c_int = 6;
261 pub const LOG_DEBUG: ::c_int = 7;
263 pub const LOG_KERN: ::c_int = 0;
264 pub const LOG_USER: ::c_int = 1 << 3;
265 pub const LOG_MAIL: ::c_int = 2 << 3;
266 pub const LOG_DAEMON: ::c_int = 3 << 3;
267 pub const LOG_AUTH: ::c_int = 4 << 3;
268 pub const LOG_SYSLOG: ::c_int = 5 << 3;
269 pub const LOG_LPR: ::c_int = 6 << 3;
270 pub const LOG_NEWS: ::c_int = 7 << 3;
271 pub const LOG_UUCP: ::c_int = 8 << 3;
272 pub const LOG_LOCAL0: ::c_int = 16 << 3;
273 pub const LOG_LOCAL1: ::c_int = 17 << 3;
274 pub const LOG_LOCAL2: ::c_int = 18 << 3;
275 pub const LOG_LOCAL3: ::c_int = 19 << 3;
276 pub const LOG_LOCAL4: ::c_int = 20 << 3;
277 pub const LOG_LOCAL5: ::c_int = 21 << 3;
278 pub const LOG_LOCAL6: ::c_int = 22 << 3;
279 pub const LOG_LOCAL7: ::c_int = 23 << 3;
283 pub const LOG_PID: ::c_int = 0x01;
284 pub const LOG_CONS: ::c_int = 0x02;
285 pub const LOG_ODELAY: ::c_int = 0x04;
286 pub const LOG_NDELAY: ::c_int = 0x08;
287 pub const LOG_NOWAIT: ::c_int = 0x10;
290 pub const LOG_PRIMASK: ::c_int = 7;
291 pub const LOG_FACMASK: ::c_int = 0x3f8;
296 pub const PRIO_MIN: ::c_int = -20;
297 pub const PRIO_MAX: ::c_int = 20;
300 pub const IPPROTO_ICMP: ::c_int = 1;
301 pub const IPPROTO_ICMPV6: ::c_int = 58;
302 pub const IPPROTO_TCP: ::c_int = 6;
303 pub const IPPROTO_UDP: ::c_int = 17;
304 pub const IPPROTO_IP: ::c_int = 0;
305 pub const IPPROTO_IPV6: ::c_int = 41;
315 pub const ATF_COM: ::c_int = 0x02;
316 pub const ATF_PERM: ::c_int = 0x04;
317 pub const ATF_PUBL: ::c_int = 0x08;
318 pub const ATF_USETRAILERS: ::c_int = 0x10;
434 pub fn isalnum(c: c_int) -> c_int;
435 pub fn isalpha(c: c_int) -> c_int;
436 pub fn iscntrl(c: c_int) -> c_int;
437 pub fn isdigit(c: c_int) -> c_int;
438 pub fn isgraph(c: c_int) -> c_int;
439 pub fn islower(c: c_int) -> c_int;
440 pub fn isprint(c: c_int) -> c_int;
441 pub fn ispunct(c: c_int) -> c_int;
442 pub fn isspace(c: c_int) -> c_int;
443 pub fn isupper(c: c_int) -> c_int;
444 pub fn isxdigit(c: c_int) -> c_int;
445 pub fn isblank(c: c_int) -> c_int;
446 pub fn tolower(c: c_int) -> c_int;
447 pub fn toupper(c: c_int) -> c_int;
452 compar: ::Option<unsafe extern "C" fn(*const c_void, *const c_void) -> c_int>,
459 compar: ::Option<unsafe extern "C" fn(*const c_void, *const c_void) -> c_int>,
472 pub fn fflush(file: *mut FILE) -> c_int;
473 pub fn fclose(file: *mut FILE) -> c_int;
474 pub fn remove(filename: *const c_char) -> c_int;
475 pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int;
477 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int;
479 pub fn getchar() -> c_int;
480 pub fn putchar(c: c_int) -> c_int;
481 pub fn fgetc(stream: *mut FILE) -> c_int;
482 pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char;
483 pub fn fputc(c: c_int, stream: *mut FILE) -> c_int;
488 pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int;
489 pub fn puts(s: *const c_char) -> c_int;
490 pub fn ungetc(c: c_int, stream: *mut FILE) -> c_int;
497 pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int;
501 pub fn fgetpos(stream: *mut FILE, ptr: *mut fpos_t) -> c_int;
503 pub fn fsetpos(stream: *mut FILE, ptr: *const fpos_t) -> c_int;
504 pub fn feof(stream: *mut FILE) -> c_int;
505 pub fn ferror(stream: *mut FILE) -> c_int;
509 pub fn atoi(s: *const c_char) -> c_int;
518 pub fn strtol(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_long;
519 pub fn strtoll(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_longlong;
520 pub fn strtoul(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulong;
521 pub fn strtoull(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulonglong;
527 pub fn exit(status: c_int) -> !;
528 pub fn _exit(status: c_int) -> !;
533 pub fn system(s: *const c_char) -> c_int;
541 pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int;
542 pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int;
543 pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int;
544 pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char;
545 pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char;
552 pub fn strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int;
553 pub fn strncasecmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int;
560 pub fn strerror(n: c_int) -> *mut c_char;
564 pub fn strsignal(sig: c_int) -> *mut c_char;
568 pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void;
570 pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int;
573 pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void;
582 pub fn fprintf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int;
583 pub fn printf(format: *const ::c_char, ...) -> ::c_int;
584 pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int;
585 pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int;
590 pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int;
595 pub fn scanf(format: *const ::c_char, ...) -> ::c_int;
600 pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int;
601 pub fn getchar_unlocked() -> ::c_int;
602 pub fn putchar_unlocked(c: ::c_int) -> ::c_int;
612 pub fn socket(domain: ::c_int, ty: ::c_int, protocol: ::c_int) -> ::c_int;
624 pub fn connect(socket: ::c_int, address: *const sockaddr, len: socklen_t) -> ::c_int;
630 pub fn listen(socket: ::c_int, backlog: ::c_int) -> ::c_int;
641 pub fn accept(socket: ::c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> ::c_int;
653 socket: ::c_int,
656 ) -> ::c_int;
668 socket: ::c_int,
671 ) -> ::c_int;
674 socket: ::c_int,
675 level: ::c_int,
676 name: ::c_int,
679 ) -> ::c_int;
686 domain: ::c_int,
687 type_: ::c_int,
688 protocol: ::c_int,
689 socket_vector: *mut ::c_int,
690 ) -> ::c_int;
703 socket: ::c_int,
706 flags: ::c_int,
711 pub fn shutdown(socket: ::c_int, how: ::c_int) -> ::c_int;
717 pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int;
722 pub fn fchmod(fd: ::c_int, mode: mode_t) -> ::c_int;
733 pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int;
735 pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int;
746 pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int;
748 pub fn pclose(stream: *mut ::FILE) -> ::c_int;
753 pub fn fdopen(fd: ::c_int, mode: *const c_char) -> *mut ::FILE;
754 pub fn fileno(stream: *mut ::FILE) -> ::c_int;
760 pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int;
765 pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int;
770 pub fn fcntl(fd: ::c_int, cmd: ::c_int, ...) -> ::c_int;
797 pub fn closedir(dirp: *mut ::DIR) -> ::c_int;
809 dirfd: ::c_int,
812 flags: ::c_int,
813 ) -> ::c_int;
814 pub fn fchown(fd: ::c_int, owner: ::uid_t, group: ::gid_t) -> ::c_int;
816 dirfd: ::c_int,
820 flags: ::c_int,
821 ) -> ::c_int;
831 dirfd: ::c_int,
834 flags: ::c_int,
835 ) -> ::c_int;
837 olddirfd: ::c_int,
839 newdirfd: ::c_int,
841 flags: ::c_int,
842 ) -> ::c_int;
844 olddirfd: ::c_int,
846 newdirfd: ::c_int,
848 ) -> ::c_int;
851 newdirfd: ::c_int,
853 ) -> ::c_int;
854 pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int;
856 pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int;
858 pub fn chdir(dir: *const c_char) -> ::c_int;
859 pub fn fchdir(dirfd: ::c_int) -> ::c_int;
860 pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int;
865 pub fn lchown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int;
874 pub fn close(fd: ::c_int) -> ::c_int;
875 pub fn dup(fd: ::c_int) -> ::c_int;
876 pub fn dup2(src: ::c_int, dst: ::c_int) -> ::c_int;
877 pub fn execl(path: *const c_char, arg0: *const c_char, ...) -> ::c_int;
878 pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int;
879 pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int;
880 pub fn execv(prog: *const c_char, argv: *const *const c_char) -> ::c_int;
885 ) -> ::c_int;
886 pub fn execvp(c: *const c_char, argv: *const *const c_char) -> ::c_int;
888 pub fn fpathconf(filedes: ::c_int, name: ::c_int) -> c_long;
893 pub fn getgroups(ngroups_max: ::c_int, groups: *mut gid_t) -> ::c_int;
900 pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int;
906 pub fn isatty(fd: ::c_int) -> ::c_int;
907 pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int;
908 pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t;
909 pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long;
910 pub fn pipe(fds: *mut ::c_int) -> ::c_int;
911 pub fn posix_memalign(memptr: *mut *mut ::c_void, align: ::size_t, size: ::size_t) -> ::c_int;
916 pub fn read(fd: ::c_int, buf: *mut ::c_void, count: ::size_t) -> ::ssize_t;
917 pub fn rmdir(path: *const c_char) -> ::c_int;
918 pub fn seteuid(uid: uid_t) -> ::c_int;
919 pub fn setegid(gid: gid_t) -> ::c_int;
920 pub fn setgid(gid: gid_t) -> ::c_int;
921 pub fn setpgid(pid: pid_t, pgid: pid_t) -> ::c_int;
923 pub fn setuid(uid: uid_t) -> ::c_int;
924 pub fn setreuid(ruid: uid_t, euid: uid_t) -> ::c_int;
925 pub fn setregid(rgid: gid_t, egid: gid_t) -> ::c_int;
936 pub fn nanosleep(rqtp: *const timespec, rmtp: *mut timespec) -> ::c_int;
937 pub fn tcgetpgrp(fd: ::c_int) -> pid_t;
938 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int;
939 pub fn ttyname(fd: ::c_int) -> *mut c_char;
945 pub fn ttyname_r(fd: ::c_int, buf: *mut c_char, buflen: ::size_t) -> ::c_int;
946 pub fn unlink(c: *const c_char) -> ::c_int;
951 pub fn wait(status: *mut ::c_int) -> pid_t;
956 pub fn waitpid(pid: pid_t, status: *mut ::c_int, options: ::c_int) -> pid_t;
961 pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t) -> ::ssize_t;
966 pub fn pread(fd: ::c_int, buf: *mut ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t;
971 pub fn pwrite(fd: ::c_int, buf: *const ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t;
975 pub fn utime(file: *const c_char, buf: *const utimbuf) -> ::c_int;
981 pub fn kill(pid: pid_t, sig: ::c_int) -> ::c_int;
986 pub fn killpg(pgrp: pid_t, sig: ::c_int) -> ::c_int;
988 pub fn mlock(addr: *const ::c_void, len: ::size_t) -> ::c_int;
989 pub fn munlock(addr: *const ::c_void, len: ::size_t) -> ::c_int;
990 pub fn mlockall(flags: ::c_int) -> ::c_int;
991 pub fn munlockall() -> ::c_int;
1000 prot: ::c_int,
1001 flags: ::c_int,
1002 fd: ::c_int,
1009 pub fn munmap(addr: *mut ::c_void, len: ::size_t) -> ::c_int;
1023 pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int;
1029 pub fn fsync(fd: ::c_int) -> ::c_int;
1035 pub fn setenv(name: *const c_char, val: *const c_char, overwrite: ::c_int) -> ::c_int;
1041 pub fn unsetenv(name: *const c_char) -> ::c_int;
1043 pub fn symlink(path1: *const c_char, path2: *const c_char) -> ::c_int;
1045 pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int;
1047 pub fn signal(signum: ::c_int, handler: sighandler_t) -> sighandler_t;
1050 pub fn getrusage(resource: ::c_int, usage: *mut rusage) -> ::c_int;
1063 pub fn flock(fd: ::c_int, operation: ::c_int) -> ::c_int;
1073 pub fn pthread_join(native: ::pthread_t, value: *mut *mut ::c_void) -> ::c_int;
1075 pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int;
1076 pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int;
1077 pub fn pthread_attr_setstacksize(attr: *mut ::pthread_attr_t, stack_size: ::size_t) -> ::c_int;
1078 pub fn pthread_attr_setdetachstate(attr: *mut ::pthread_attr_t, state: ::c_int) -> ::c_int;
1079 pub fn pthread_detach(thread: ::pthread_t) -> ::c_int;
1081 pub fn sched_yield() -> ::c_int;
1085 ) -> ::c_int;
1086 pub fn pthread_key_delete(key: pthread_key_t) -> ::c_int;
1088 pub fn pthread_setspecific(key: pthread_key_t, value: *const ::c_void) -> ::c_int;
1092 ) -> ::c_int;
1093 pub fn pthread_mutex_destroy(lock: *mut pthread_mutex_t) -> ::c_int;
1094 pub fn pthread_mutex_lock(lock: *mut pthread_mutex_t) -> ::c_int;
1095 pub fn pthread_mutex_trylock(lock: *mut pthread_mutex_t) -> ::c_int;
1096 pub fn pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> ::c_int;
1098 pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> ::c_int;
1103 pub fn pthread_mutexattr_destroy(attr: *mut pthread_mutexattr_t) -> ::c_int;
1104 pub fn pthread_mutexattr_settype(attr: *mut pthread_mutexattr_t, _type: ::c_int) -> ::c_int;
1111 -> ::c_int;
1116 pub fn pthread_cond_wait(cond: *mut pthread_cond_t, lock: *mut pthread_mutex_t) -> ::c_int;
1125 ) -> ::c_int;
1126 pub fn pthread_cond_signal(cond: *mut pthread_cond_t) -> ::c_int;
1127 pub fn pthread_cond_broadcast(cond: *mut pthread_cond_t) -> ::c_int;
1128 pub fn pthread_cond_destroy(cond: *mut pthread_cond_t) -> ::c_int;
1129 pub fn pthread_condattr_init(attr: *mut pthread_condattr_t) -> ::c_int;
1130 pub fn pthread_condattr_destroy(attr: *mut pthread_condattr_t) -> ::c_int;
1138 ) -> ::c_int;
1143 pub fn pthread_rwlock_destroy(lock: *mut pthread_rwlock_t) -> ::c_int;
1148 pub fn pthread_rwlock_rdlock(lock: *mut pthread_rwlock_t) -> ::c_int;
1153 pub fn pthread_rwlock_tryrdlock(lock: *mut pthread_rwlock_t) -> ::c_int;
1158 pub fn pthread_rwlock_wrlock(lock: *mut pthread_rwlock_t) -> ::c_int;
1163 pub fn pthread_rwlock_trywrlock(lock: *mut pthread_rwlock_t) -> ::c_int;
1168 pub fn pthread_rwlock_unlock(lock: *mut pthread_rwlock_t) -> ::c_int;
1169 pub fn pthread_rwlockattr_init(attr: *mut pthread_rwlockattr_t) -> ::c_int;
1170 pub fn pthread_rwlockattr_destroy(attr: *mut pthread_rwlockattr_t) -> ::c_int;
1175 sockfd: ::c_int,
1176 level: ::c_int,
1177 optname: ::c_int,
1180 ) -> ::c_int;
1181 pub fn raise(signum: ::c_int) -> ::c_int;
1184 pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int;
1185 pub fn dlopen(filename: *const ::c_char, flag: ::c_int) -> *mut ::c_void;
1188 pub fn dlclose(handle: *mut ::c_void) -> ::c_int;
1189 pub fn dladdr(addr: *const ::c_void, info: *mut Dl_info) -> ::c_int;
1203 ) -> ::c_int;
1211 pub fn hstrerror(errcode: ::c_int) -> *const ::c_char;
1212 pub fn gai_strerror(errcode: ::c_int) -> *const ::c_char;
1234 pub fn res_init() -> ::c_int;
1278 pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int;
1279 pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int;
1282 pub fn getservbyport(port: ::c_int, proto: *const ::c_char) -> *mut servent;
1284 pub fn setservent(stayopen: ::c_int);
1286 pub fn getprotobynumber(proto: ::c_int) -> *mut protoent;
1287 pub fn chroot(name: *const ::c_char) -> ::c_int;
1292 pub fn usleep(secs: ::c_uint) -> ::c_int;
1298 pub fn send(socket: ::c_int, buf: *const ::c_void, len: ::size_t, flags: ::c_int) -> ::ssize_t;
1304 pub fn recv(socket: ::c_int, buf: *mut ::c_void, len: ::size_t, flags: ::c_int) -> ::ssize_t;
1310 pub fn putenv(string: *mut c_char) -> ::c_int;
1315 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int;
1326 nfds: ::c_int,
1331 ) -> ::c_int;
1333 pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char;
1340 pub fn sem_wait(sem: *mut sem_t) -> ::c_int;
1341 pub fn sem_trywait(sem: *mut sem_t) -> ::c_int;
1342 pub fn sem_post(sem: *mut sem_t) -> ::c_int;
1343 pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int;
1344 pub fn fstatvfs(fd: ::c_int, buf: *mut statvfs) -> ::c_int;
1347 pub fn sigemptyset(set: *mut sigset_t) -> ::c_int;
1349 pub fn sigaddset(set: *mut sigset_t, signum: ::c_int) -> ::c_int;
1351 pub fn sigfillset(set: *mut sigset_t) -> ::c_int;
1353 pub fn sigdelset(set: *mut sigset_t, signum: ::c_int) -> ::c_int;
1355 pub fn sigismember(set: *const sigset_t, signum: ::c_int) -> ::c_int;
1358 pub fn sigprocmask(how: ::c_int, set: *const sigset_t, oldset: *mut sigset_t) -> ::c_int;
1360 pub fn sigpending(set: *mut sigset_t) -> ::c_int;
1362 pub fn sysconf(name: ::c_int) -> ::c_long;
1364 pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int;
1366 pub fn fseeko(stream: *mut ::FILE, offset: ::off_t, whence: ::c_int) -> ::c_int;
1372 pub fn tcdrain(fd: ::c_int) -> ::c_int;
1375 pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
1376 pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
1377 pub fn tcgetattr(fd: ::c_int, termios: *mut ::termios) -> ::c_int;
1378 pub fn tcsetattr(fd: ::c_int, optional_actions: ::c_int, termios: *const ::termios) -> ::c_int;
1379 pub fn tcflow(fd: ::c_int, action: ::c_int) -> ::c_int;
1380 pub fn tcflush(fd: ::c_int, action: ::c_int) -> ::c_int;
1381 pub fn tcgetsid(fd: ::c_int) -> ::pid_t;
1382 pub fn tcsendbreak(fd: ::c_int, duration: ::c_int) -> ::c_int;
1383 pub fn mkstemp(template: *mut ::c_char) -> ::c_int;
1388 pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int);
1390 pub fn setlogmask(maskpri: ::c_int) -> ::c_int;
1392 pub fn syslog(priority: ::c_int, message: *const ::c_char, ...);
1397 pub fn nice(incr: ::c_int) -> ::c_int;
1399 pub fn grantpt(fd: ::c_int) -> ::c_int;
1400 pub fn posix_openpt(flags: ::c_int) -> ::c_int;
1401 pub fn ptsname(fd: ::c_int) -> *mut ::c_char;
1402 pub fn unlockpt(fd: ::c_int) -> ::c_int;
1407 pub fn lockf(fd: ::c_int, cmd: ::c_int, len: ::off_t) -> ::c_int;
1416 pub fn adjtime(delta: *const timeval, olddelta: *mut timeval) -> ::c_int;
1437 pub fn truncate(path: *const c_char, length: off_t) -> ::c_int;
1440 pub fn pause() -> ::c_int;
1442 pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char,
1443 mode: ::mode_t) -> ::c_int;
1444 pub fn openat(dirfd: ::c_int, pathname: *const ::c_char,
1445 flags: ::c_int, ...) -> ::c_int;
1451 pub fn fdopendir(fd: ::c_int) -> *mut ::DIR;
1468 result: *mut *mut ::dirent) -> ::c_int;
1476 pub fn readlinkat(dirfd: ::c_int,
1479 bufsiz: ::size_t) -> ::c_int;
1480 pub fn readlink(path: *const c_char, buf: *mut c_char, bufsz: ::size_t) -> ::c_int;
1482 nfds: ::c_int,
1488 ) -> ::c_int;
1492 pub fn readlinkat(dirfd: ::c_int,
1498 pub fn atexit(cb: extern "C" fn()) -> c_int;
1501 signum: ::c_int,
1504 ) -> ::c_int;
1516 nfds: ::c_int,
1522 ) -> ::c_int;
1535 speed: ::speed_t) -> ::c_int;