Expand description
Definitions found commonly among almost all Unix derivatives
More functions and definitions can be found in the more specific modules according to the platform in question.
Re-exports§
pub use self::linux_like::*;
Modules§
Structs§
- group
- hostent
- in6_
addr - iovec
- ipv6_
mreq - itimerval
- linger
- pollfd
- protoent
- rlimit
- rusage
- servent
- sigval
- timespec
- timeval
- tms
- utimbuf
- winsize
Enums§
Constants§
- ARPOP_
REPLY - ARPOP_
REQUEST - ATF_COM
- ATF_
PERM - ATF_
PUBL - ATF_
USETRAILERS - DT_BLK
- DT_CHR
- DT_DIR
- DT_FIFO
- DT_LNK
- DT_REG
- DT_SOCK
- DT_
UNKNOWN - FD_
CLOEXEC - FNM_
CASEFOLD - FNM_
NOESCAPE - FNM_
NOMATCH - FNM_
PATHNAME - FNM_
PERIOD - GRPQUOTA
- IFNAMSIZ
- IF_
NAMESIZE - IN6ADDR_
ANY_ INIT - IN6ADDR_
LOOPBACK_ INIT - INADDR_
ANY - INADDR_
BROADCAST - INADDR_
LOOPBACK - INADDR_
NONE - INT_MAX
- INT_MIN
- IPPROTO_
ICMP - IPPROTO_
ICMP V6 - IPPROTO_
IP - IPPROTO_
IPV6 - IPPROTO_
TCP - IPPROTO_
UDP - LOG_
ALERT - LOG_
AUTH - LOG_
CONS - LOG_
CRIT - LOG_
DAEMON - LOG_
DEBUG - LOG_
EMERG - LOG_ERR
- LOG_
FACMASK - LOG_
INFO - LOG_
KERN - LOG_
LOCA L0 - LOG_
LOCA L1 - LOG_
LOCA L2 - LOG_
LOCA L3 - LOG_
LOCA L4 - LOG_
LOCA L5 - LOG_
LOCA L6 - LOG_
LOCA L7 - LOG_LPR
- LOG_
MAIL - LOG_
NDELAY - LOG_
NEWS - LOG_
NOTICE - LOG_
NOWAIT - LOG_
ODELAY - LOG_PID
- LOG_
PRIMASK - LOG_
SYSLOG - LOG_
USER - LOG_
UUCP - LOG_
WARNING - PRIO_
MAX - PRIO_
MIN - SIGIOT
- SIG_DFL
- SIG_ERR
- SIG_IGN
- S_ISGID
- S_ISUID
- S_ISVTX
- USRQUOTA
Statics§
Functions§
- _exit⚠
- abort⚠
- accept⚠
- access⚠
- adjtime⚠
- alarm⚠
- aligned_
alloc ⚠ - atexit⚠
- atof⚠
- atoi⚠
- atol⚠
- atoll⚠
- bsearch⚠
- calloc⚠
- cfgetispeed⚠
- cfgetospeed⚠
- cfmakeraw⚠
- cfsetispeed⚠
- cfsetospeed⚠
- cfsetspeed⚠
- chdir⚠
- chmod⚠
- chown⚠
- chroot⚠
- clearerr⚠
- close⚠
- closedir⚠
- closelog⚠
- confstr⚠
- connect⚠
- creat⚠
- difftime⚠
- dladdr⚠
- dlclose⚠
- dlerror⚠
- dlopen⚠
- dlsym⚠
- dup⚠
- dup2⚠
- endservent⚠
- execl⚠
- execle⚠
- execlp⚠
- execv⚠
- execve⚠
- execvp⚠
- exit⚠
- fchdir⚠
- fchmod⚠
- fchmodat⚠
- fchown⚠
- fchownat⚠
- fclose⚠
- fcntl⚠
- fdopen⚠
- fdopendir⚠
- feof⚠
- ferror⚠
- fflush⚠
- fgetc⚠
- fgetpos⚠
- fgets⚠
- fileno⚠
- flock⚠
- fmemopen⚠
- fnmatch⚠
- fopen⚠
- fork⚠
- fpathconf⚠
- fprintf⚠
- fputc⚠
- fputs⚠
- fread⚠
- free⚠
- freeaddrinfo⚠
- freopen⚠
- fscanf⚠
- fseek⚠
- fseeko⚠
- fsetpos⚠
- fstat⚠
- fstatat⚠
- fstatvfs⚠
- fsync⚠
- ftell⚠
- ftello⚠
- ftruncate⚠
- fwrite⚠
- gai_
strerror ⚠ - getaddrinfo⚠
- getchar⚠
- getchar_
unlocked ⚠ - getcwd⚠
- getegid⚠
- getenv⚠
- geteuid⚠
- getgid⚠
- getgroups⚠
- gethostname⚠
- getline⚠
- getlogin⚠
- getopt⚠
- getpeername⚠
- getpgid⚠
- getpgrp⚠
- getpid⚠
- getppid⚠
- getprotobyname⚠
- getprotobynumber⚠
- getpwnam⚠
- getpwuid⚠
- getrusage⚠
- getservbyname⚠
- getservbyport⚠
- getservent⚠
- getsid⚠
- getsockname⚠
- getsockopt⚠
- getuid⚠
- gmtime⚠
- gmtime_
r ⚠ - grantpt⚠
- hstrerror⚠
- htonl
- htons
- if_
indextoname ⚠ - if_
nametoindex ⚠ - isalnum⚠
- isalpha⚠
- isatty⚠
- isblank⚠
- iscntrl⚠
- isdigit⚠
- isgraph⚠
- islower⚠
- isprint⚠
- ispunct⚠
- isspace⚠
- isupper⚠
- isxdigit⚠
- kill⚠
- killpg⚠
- lchown⚠
- link⚠
- linkat⚠
- listen⚠
- localeconv⚠
- localtime⚠
- localtime_
r ⚠ - lockf⚠
- lseek⚠
- lstat⚠
- malloc⚠
- memccpy⚠
- memchr⚠
- memcmp⚠
- memcpy⚠
- memmove⚠
- memset⚠
- mkdir⚠
- mkdirat⚠
- mkdtemp⚠
- mkfifo⚠
- mknod⚠
- mkstemp⚠
- mktime⚠
- mlock⚠
- mlockall⚠
- mmap⚠
- munlock⚠
- munlockall⚠
- munmap⚠
- nanosleep⚠
- nice⚠
- ntohl
- ntohs
- open⚠
- open_
memstream ⚠ - open_
wmemstream ⚠ - openat⚠
- opendir⚠
- openlog⚠
- pathconf⚠
- pause⚠
- pclose⚠
- perror⚠
- pipe⚠
- poll⚠
- posix_
memalign ⚠ - posix_
openpt ⚠ - pread⚠
- printf⚠
- pselect⚠
- pthread_
attr_ ⚠destroy - pthread_
attr_ ⚠getstacksize - pthread_
attr_ ⚠init - pthread_
attr_ ⚠setdetachstate - pthread_
attr_ ⚠setstacksize - pthread_
cond_ ⚠broadcast - pthread_
cond_ ⚠destroy - pthread_
cond_ ⚠init - pthread_
cond_ ⚠signal - pthread_
cond_ ⚠timedwait - pthread_
cond_ ⚠wait - pthread_
condattr_ ⚠destroy - pthread_
condattr_ ⚠init - pthread_
detach ⚠ - pthread_
equal ⚠ - pthread_
exit ⚠ - pthread_
getspecific ⚠ - pthread_
join ⚠ - pthread_
key_ ⚠create - pthread_
key_ ⚠delete - pthread_
mutex_ ⚠destroy - pthread_
mutex_ ⚠init - pthread_
mutex_ ⚠lock - pthread_
mutex_ ⚠trylock - pthread_
mutex_ ⚠unlock - pthread_
mutexattr_ ⚠destroy - pthread_
mutexattr_ ⚠init - pthread_
mutexattr_ ⚠settype - pthread_
rwlock_ ⚠destroy - pthread_
rwlock_ ⚠init - pthread_
rwlock_ ⚠rdlock - pthread_
rwlock_ ⚠tryrdlock - pthread_
rwlock_ ⚠trywrlock - pthread_
rwlock_ ⚠unlock - pthread_
rwlock_ ⚠wrlock - pthread_
rwlockattr_ ⚠destroy - pthread_
rwlockattr_ ⚠init - pthread_
self ⚠ - pthread_
setspecific ⚠ - ptsname⚠
- putchar⚠
- putchar_
unlocked ⚠ - putenv⚠
- puts⚠
- pwrite⚠
- qsort⚠
- raise⚠
- read⚠
- readdir⚠
- readdir_
r ⚠ - The 64-bit libc on Solaris and illumos only has readdir_r. If a 32-bit Solaris or illumos target is ever created, it should use __posix_readdir_r. See libc(3LIB) on Solaris or illumos: https://illumos.org/man/3lib/libc https://docs.oracle.com/cd/E36784_01/html/E36873/libc-3lib.html https://www.unix.com/man-page/opensolaris/3LIB/libc/
- readlink⚠
- readlinkat⚠
- realloc⚠
- realpath⚠
- recv⚠
- remove⚠
- rename⚠
- renameat⚠
- res_
init ⚠ - rewind⚠
- rewinddir⚠
- rmdir⚠
- scanf⚠
- sched_
yield ⚠ - select⚠
- sem_
post ⚠ - sem_
trywait ⚠ - sem_
wait ⚠ - send⚠
- sendto⚠
- setbuf⚠
- setegid⚠
- setenv⚠
- seteuid⚠
- setgid⚠
- setlocale⚠
- setlogmask⚠
- setpgid⚠
- setregid⚠
- setreuid⚠
- setservent⚠
- setsid⚠
- setsockopt⚠
- setuid⚠
- setvbuf⚠
- shutdown⚠
- sigaction⚠
- sigaddset⚠
- sigdelset⚠
- sigemptyset⚠
- sigfillset⚠
- sigismember⚠
- signal⚠
- sigpending⚠
- sigprocmask⚠
- sleep⚠
- snprintf⚠
- socket⚠
- socketpair⚠
- sprintf⚠
- sscanf⚠
- stat⚠
- statvfs⚠
- stpcpy⚠
- stpncpy⚠
- strcasecmp⚠
- strcasestr⚠
- strcat⚠
- strchr⚠
- strcmp⚠
- strcoll⚠
- strcpy⚠
- strcspn⚠
- strdup⚠
- strerror⚠
- strlen⚠
- strncasecmp⚠
- strncat⚠
- strncmp⚠
- strncpy⚠
- strndup⚠
- strnlen⚠
- strpbrk⚠
- strrchr⚠
- strsignal⚠
- strspn⚠
- strstr⚠
- strtod⚠
- strtof⚠
- strtok⚠
- strtok_
r ⚠ - strtol⚠
- strtoll⚠
- strtoul⚠
- strtoull⚠
- strxfrm⚠
- symlink⚠
- symlinkat⚠
- sysconf⚠
- syslog⚠
- system⚠
- tcdrain⚠
- tcflow⚠
- tcflush⚠
- tcgetattr⚠
- tcgetpgrp⚠
- tcgetsid⚠
- tcsendbreak⚠
- tcsetattr⚠
- tcsetpgrp⚠
- time⚠
- timegm⚠
- times⚠
- tmpfile⚠
- tmpnam⚠
- tolower⚠
- toupper⚠
- truncate⚠
- ttyname⚠
- ttyname_
r ⚠ - umask⚠
- ungetc⚠
- unlink⚠
- unlinkat⚠
- unlockpt⚠
- unsetenv⚠
- usleep⚠
- utime⚠
- utimes⚠
- wait⚠
- waitpid⚠
- wcslen⚠
- wcstombs⚠
- wmemchr⚠
- write⚠