From 6f55860d76696016440c2fee73673fe540468928 Mon Sep 17 00:00:00 2001 From: nsz Date: Wed, 14 Sep 2011 03:41:47 +0200 Subject: [PATCH] fix posix headers (sys/, arpa/,..) --- data/posix2008 | 232 ++++++++++++++++++++++---------------------- data/posix2008.dead | 36 +++---- data/posix2008.ok | 196 ++++++++++++++++++------------------- makeall.sh | 3 - tab_posix.html | 206 +++++++++++++++++++-------------------- tab_posix.sh | 7 +- 6 files changed, 340 insertions(+), 340 deletions(-) diff --git a/data/posix2008 b/data/posix2008 index e626db7..1e9d313 100644 --- a/data/posix2008 +++ b/data/posix2008 @@ -1,7 +1,7 @@ -FD_CLR sys_select.h pselect, select - synchronous I/O multiplexing void FD_CLR(int fd, fd_set *fdset); -FD_ISSET sys_select.h pselect, select - synchronous I/O multiplexing int FD_ISSET(int fd, fd_set *fdset); -FD_SET sys_select.h pselect, select - synchronous I/O multiplexing void FD_SET(int fd, fd_set *fdset); -FD_ZERO sys_select.h pselect, select - synchronous I/O multiplexing void FD_ZERO(fd_set *fdset); +FD_CLR sys/select.h pselect, select - synchronous I/O multiplexing void FD_CLR(int fd, fd_set *fdset); +FD_ISSET sys/select.h pselect, select - synchronous I/O multiplexing int FD_ISSET(int fd, fd_set *fdset); +FD_SET sys/select.h pselect, select - synchronous I/O multiplexing void FD_SET(int fd, fd_set *fdset); +FD_ZERO sys/select.h pselect, select - synchronous I/O multiplexing void FD_ZERO(fd_set *fdset); _Exit stdlib.h unistd.h _Exit, _exit - terminate a process void _Exit(int status); _exit stdlib.h unistd.h _Exit, _exit - terminate a process void _exit(int status); _longjmp setjmp.h OB XSI _longjmp, _setjmp - non-local goto void _longjmp(jmp_buf env, int val); @@ -11,7 +11,7 @@ _toupper ctype.h OB XSI _toupper - transliterate lowercase characters to upperca a64l stdlib.h XSI a64l, l64a - convert between a 32-bit integer and a radix-64 ASCII string long a64l(const char *s); abort stdlib.h abort - generate an abnormal process abort void abort(void); abs stdlib.h abs - return an integer absolute value int abs(int i); -accept sys_socket.h accept - accept a new connection on a socket int accept(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); +accept sys/socket.h accept - accept a new connection on a socket int accept(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); access unistd.h access, faccessat - determine accessibility of a file relative to directory file descriptor int access(const char *path, int amode); acos math.h acos, acosf, acosl - arc cosine functions double acos(double x); acosf math.h acos, acosf, acosl - arc cosine functions float acosf(float x); @@ -52,7 +52,7 @@ atoi stdlib.h atoi - convert a string to an integer int atoi(const char *str); atol stdlib.h atol, atoll - convert a string to a long integer long atol(const char *str); atoll stdlib.h atol, atoll - convert a string to a long integer long long atoll(const char *nptr); basename libgen.h XSI basename - return the last component of a pathname char *basename(char *path); -bind sys_socket.h bind - bind a name to a socket int bind(int socket, const struct sockaddr *address, socklen_t address_len); +bind sys/socket.h bind - bind a name to a socket int bind(int socket, const struct sockaddr *address, socklen_t address_len); bsearch stdlib.h bsearch - binary search a sorted table void *bsearch(const void *key, const void *base, size_t nel, size_t width, int (*compar)(const void *, const void *)); btowc stdio.h wchar.h btowc - single byte to wide character conversion wint_t btowc(int c); cabs complex.h cabs, cabsf, cabsl - return a complex absolute value double cabs(double complex z); @@ -103,7 +103,7 @@ cfgetospeed termios.h cfgetospeed - get output baud rate speed_t cfgetospeed(co cfsetispeed termios.h cfsetispeed - set input baud rate int cfsetispeed(struct termios *termios_p, speed_t speed); cfsetospeed termios.h cfsetospeed - set output baud rate int cfsetospeed(struct termios *termios_p, speed_t speed); chdir unistd.h chdir - change working directory int chdir(const char *path); -chmod sys_stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor int chmod(const char *path, mode_t mode); +chmod sys/stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor int chmod(const char *path, mode_t mode); chown unistd.h chown, fchownat - change owner and group of a file relative to directory file descriptor int chown(const char *path, uid_t owner, gid_t group); cimag complex.h cimag, cimagf, cimagl - complex imaginary functions double cimag(double complex z); cimagf complex.h cimag, cimagf, cimagl - complex imaginary functions float cimagf(float complex z); @@ -125,7 +125,7 @@ confstr unistd.h confstr - get configurable variables size_t confstr(int name, conj complex.h conj, conjf, conjl - complex conjugate functions double complex conj(double complex z); conjf complex.h conj, conjf, conjl - complex conjugate functions float complex conjf(float complex z); conjl complex.h conj, conjf, conjl - complex conjugate functions long double complex conjl(long double complex z); -connect sys_socket.h connect - connect a socket int connect(int socket, const struct sockaddr *address, socklen_t address_len); +connect sys/socket.h connect - connect a socket int connect(int socket, const struct sockaddr *address, socklen_t address_len); copysign math.h copysign, copysignf, copysignl - number manipulation function double copysign(double x, double y); copysignf math.h copysign, copysignf, copysignl - number manipulation function float copysignf(float x, float y); copysignl math.h copysign, copysignf, copysignl - number manipulation function long double copysignl(long double x, long double y); @@ -226,8 +226,8 @@ fabsl math.h fabs, fabsf, fabsl - absolute value function long double fabsl(lon faccessat unistd.h access, faccessat - determine accessibility of a file relative to directory file descriptor int faccessat(int fd, const char *path, int amode, int flag); fattach stropts.h OB XSR fattach - attach a STREAMS-based file descriptor to a file in the file system name space (STREAMS) int fattach(int fildes, const char *path); fchdir unistd.h fchdir - change working directory int fchdir(int fildes); -fchmod sys_stat.h fchmod - change mode of a file int fchmod(int fildes, mode_t mode); -fchmodat sys_stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor int fchmodat(int fd, const char *path, mode_t mode, int flag); +fchmod sys/stat.h fchmod - change mode of a file int fchmod(int fildes, mode_t mode); +fchmodat sys/stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor int fchmodat(int fd, const char *path, mode_t mode, int flag); fchown unistd.h fchown - change owner and group of a file int fchown(int fildes, uid_t owner, gid_t group); fchownat unistd.h chown, fchownat - change owner and group of a file relative to directory file descriptor int fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); fclose stdio.h fclose - close a stream int fclose(FILE *stream); @@ -291,7 +291,7 @@ fputwc stdio.h wchar.h fputwc - put a wide-character code on a stream wint_t fp fputws stdio.h wchar.h fputws - put a wide-character string on a stream int fputws(const wchar_t *restrict ws, FILE *restrict stream); fread stdio.h fread - binary input size_t fread(void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream); free stdlib.h free - free allocated memory void free(void *ptr); -freeaddrinfo sys_socket.h netdb.h freeaddrinfo, getaddrinfo - get address information void freeaddrinfo(struct addrinfo *ai); +freeaddrinfo sys/socket.h netdb.h freeaddrinfo, getaddrinfo - get address information void freeaddrinfo(struct addrinfo *ai); freelocale locale.h CX freelocale - free resources allocated for a locale object void freelocale(locale_t locobj); freopen stdio.h freopen - open a stream FILE *freopen(const char *restrict filename, const char *restrict mode, FILE *restrict stream); frexp math.h frexp, frexpf, frexpl - extract mantissa and exponent from a double precision number double frexp(double num, int *exp); @@ -301,24 +301,24 @@ fscanf stdio.h fscanf, scanf, sscanf - convert formatted input int fscanf(FILE fseek stdio.h CX fseek, fseeko - reposition a file-position indicator in a stream int fseek(FILE *stream, long offset, int whence); fseeko stdio.h CX fseek, fseeko - reposition a file-position indicator in a stream int fseeko(FILE *stream, off_t offset, int whence); fsetpos stdio.h fsetpos - set current file position int fsetpos(FILE *stream, const fpos_t *pos); -fstat sys_stat.h fstat - get file status int fstat(int fildes, struct stat *buf); -fstatat sys_stat.h fstatat, lstat, stat - get file status int fstatat(int fd, const char *restrict path, struct stat *restrict buf, int flag); -fstatvfs sys_statvfs.h fstatvfs, statvfs - get file system information int fstatvfs(int fildes, struct statvfs *buf); +fstat sys/stat.h fstat - get file status int fstat(int fildes, struct stat *buf); +fstatat sys/stat.h fstatat, lstat, stat - get file status int fstatat(int fd, const char *restrict path, struct stat *restrict buf, int flag); +fstatvfs sys/statvfs.h fstatvfs, statvfs - get file system information int fstatvfs(int fildes, struct statvfs *buf); fsync unistd.h FSC fsync - synchronize changes to a file int fsync(int fildes); ftell stdio.h CX ftell, ftello - return a file offset in a stream long ftell(FILE *stream); ftello stdio.h CX ftell, ftello - return a file offset in a stream off_t ftello(FILE *stream); -ftok sys_ipc.h XSI ftok - generate an IPC key key_t ftok(const char *path, int id); +ftok sys/ipc.h XSI ftok - generate an IPC key key_t ftok(const char *path, int id); ftruncate unistd.h ftruncate - truncate a file to a specified length int ftruncate(int fildes, off_t length); ftrylockfile stdio.h CX flockfile, ftrylockfile, funlockfile - stdio locking functions int ftrylockfile(FILE *file); ftw ftw.h OB XSI ftw - traverse (walk) a file tree int ftw(const char *path, int (*fn)(const char *, const struct stat *ptr, int flag), int ndirs); funlockfile stdio.h CX flockfile, ftrylockfile, funlockfile - stdio locking functions void funlockfile(FILE *file); -futimens sys_stat.h sys_time.h XSI futimens, utimensat, utimes - set file access and modification times int futimens(int fd, const struct timespec times[2]); +futimens sys/stat.h sys/time.h XSI futimens, utimensat, utimes - set file access and modification times int futimens(int fd, const struct timespec times[2]); fwide stdio.h wchar.h fwide - set stream orientation int fwide(FILE *stream, int mode); fwprintf stdio.h wchar.h fwprintf, swprintf, wprintf - print formatted wide-character output int fwprintf(FILE *restrict stream, const wchar_t *restrict format, ...); fwrite stdio.h fwrite - binary output size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream); fwscanf stdio.h wchar.h fwscanf, swscanf, wscanf - convert formatted wide-character input int fwscanf(FILE *restrict stream, const wchar_t *restrict format, ...); gai_strerror netdb.h gai_strerror - address and name information error description const char *gai_strerror(int ecode); -getaddrinfo sys_socket.h netdb.h freeaddrinfo, getaddrinfo - get address information int getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res); +getaddrinfo sys/socket.h netdb.h freeaddrinfo, getaddrinfo - get address information int getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res); getc stdio.h getc - get a byte from a stream int getc(FILE *stream); getc_unlocked stdio.h CX getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked - stdio with explicit client locking int getc_unlocked(FILE *stream); getchar stdio.h getchar - get a byte from a .I stdin stream int getchar(void); @@ -340,23 +340,23 @@ getgroups unistd.h getgroups - get supplementary group IDs int getgroups(int gi gethostent netdb.h endhostent, gethostent, sethostent - network host database functions struct hostent *gethostent(void); gethostid unistd.h XSI gethostid - get an identifier for the current host long gethostid(void); gethostname unistd.h gethostname - get name of current host int gethostname(char *name, size_t namelen); -getitimer sys_time.h OB XSI getitimer, setitimer - get and set value of interval timer int getitimer(int which, struct itimerval *value); +getitimer sys/time.h OB XSI getitimer, setitimer - get and set value of interval timer int getitimer(int which, struct itimerval *value); getline stdio.h CX getdelim, getline - read a delimited record from .I stream ssize_t getline(char **restrict lineptr, size_t *restrict n, FILE *restrict stream); getlogin unistd.h getlogin, getlogin_r - get login name char *getlogin(void); getlogin_r unistd.h getlogin, getlogin_r - get login name int getlogin_r(char *name, size_t namesize); getmsg stropts.h OB XSR getmsg, getpmsg - receive next message from a STREAMS file (STREAMS) int getmsg(int fildes, struct strbuf *restrict ctlptr, struct strbuf *restrict dataptr, int *restrict flagsp); -getnameinfo sys_socket.h netdb.h getnameinfo - get name information int getnameinfo(const struct sockaddr *restrict sa, socklen_t salen, char *restrict node, socklen_t nodelen, char *restrict service, socklen_t servicelen, int flags); +getnameinfo sys/socket.h netdb.h getnameinfo - get name information int getnameinfo(const struct sockaddr *restrict sa, socklen_t salen, char *restrict node, socklen_t nodelen, char *restrict service, socklen_t servicelen, int flags); getnetbyaddr netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions struct netent *getnetbyaddr(uint32_t net, int type); getnetbyname netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions struct netent *getnetbyname(const char *name); getnetent netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions struct netent *getnetent(void); getopt unistd.h getopt, optarg, opterr, optind, optopt - command option parsing int getopt(int argc, char * const argv[], const char *optstring); -getpeername sys_socket.h getpeername - get the name of the peer socket int getpeername(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); +getpeername sys/socket.h getpeername - get the name of the peer socket int getpeername(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); getpgid unistd.h getpgid - get the process group ID for a process pid_t getpgid(pid_t pid); getpgrp unistd.h getpgrp - get the process group ID of the calling process pid_t getpgrp(void); getpid unistd.h getpid - get the process ID pid_t getpid(void); getpmsg stropts.h OB XSR getmsg, getpmsg - receive next message from a STREAMS file (STREAMS) int getpmsg(int fildes, struct strbuf *restrict ctlptr, struct strbuf *restrict dataptr, int *restrict bandp, int *restrict flagsp); getppid unistd.h getppid - get the parent process ID pid_t getppid(void); -getpriority sys_resource.h XSI getpriority, setpriority - get and set the nice value int getpriority(int which, id_t who); +getpriority sys/resource.h XSI getpriority, setpriority - get and set the nice value int getpriority(int which, id_t who); getprotobyname netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions struct protoent *getprotobyname(const char *name); getprotobynumber netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions struct protoent *getprotobynumber(int proto); getprotoent netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions struct protoent *getprotoent(void); @@ -365,17 +365,17 @@ getpwnam pwd.h getpwnam, getpwnam_r - search user database for a name struct pa getpwnam_r pwd.h getpwnam, getpwnam_r - search user database for a name int getpwnam_r(const char *name, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result); getpwuid pwd.h getpwuid, getpwuid_r - search user database for a user ID struct passwd *getpwuid(uid_t uid); getpwuid_r pwd.h getpwuid, getpwuid_r - search user database for a user ID int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result); -getrlimit sys_resource.h XSI getrlimit, setrlimit - control maximum resource consumption int getrlimit(int resource, struct rlimit *rlp); -getrusage sys_resource.h XSI getrusage - get information about resource utilization int getrusage(int who, struct rusage *r_usage); +getrlimit sys/resource.h XSI getrlimit, setrlimit - control maximum resource consumption int getrlimit(int resource, struct rlimit *rlp); +getrusage sys/resource.h XSI getrusage - get information about resource utilization int getrusage(int who, struct rusage *r_usage); gets stdio.h OB gets - get a string from a .I stdin stream char *gets(char *s); getservbyname netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions struct servent *getservbyname(const char *name, const char *proto); getservbyport netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions struct servent *getservbyport(int port, const char *proto); getservent netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions struct servent *getservent(void); getsid unistd.h getsid - get the process group ID of a session leader pid_t getsid(pid_t pid); -getsockname sys_socket.h getsockname - get the socket name int getsockname(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); -getsockopt sys_socket.h getsockopt - get the socket options int getsockopt(int socket, int level, int option_name, void *restrict option_value, socklen_t *restrict option_len); +getsockname sys/socket.h getsockname - get the socket name int getsockname(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); +getsockopt sys/socket.h getsockopt - get the socket options int getsockopt(int socket, int level, int option_name, void *restrict option_value, socklen_t *restrict option_len); getsubopt stdlib.h getsubopt - parse suboption arguments from a string int getsubopt(char **optionp, char * const *keylistp, char **valuep); -gettimeofday sys_time.h OB XSI gettimeofday - get the date and time int gettimeofday(struct timeval *restrict tp, void *restrict tzp); +gettimeofday sys/time.h OB XSI gettimeofday - get the date and time int gettimeofday(struct timeval *restrict tp, void *restrict tzp); getuid unistd.h getuid - get a real user ID uid_t getuid(void); getutxent utmpx.h XSI endutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions struct utmpx *getutxent(void); getutxid utmpx.h XSI endutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions struct utmpx *getutxid(const struct utmpx *id); @@ -390,27 +390,27 @@ grantpt stdlib.h XSI grantpt - grant access to the slave pseudo-terminal device hcreate search.h XSI hcreate, hdestroy, hsearch - manage hash search table int hcreate(size_t nel); hdestroy search.h XSI hcreate, hdestroy, hsearch - manage hash search table void hdestroy(void); hsearch search.h XSI hcreate, hdestroy, hsearch - manage hash search table ENTRY *hsearch(ENTRY item, ACTION action); -htonl arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint32_t htonl(uint32_t hostlong); -htons arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint16_t htons(uint16_t hostshort); +htonl arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint32_t htonl(uint32_t hostlong); +htons arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint16_t htons(uint16_t hostshort); hypot math.h hypot, hypotf, hypotl - Euclidean distance function double hypot(double x, double y); hypotf math.h hypot, hypotf, hypotl - Euclidean distance function float hypotf(float x, float y); hypotl math.h hypot, hypotf, hypotl - Euclidean distance function long double hypotl(long double x, long double y); iconv iconv.h iconv - codeset conversion function size_t iconv(iconv_t cd, char **restrict inbuf, size_t *restrict inbytesleft, char **restrict outbuf, size_t *restrict outbytesleft); iconv_close iconv.h iconv_close - codeset conversion deallocation function int iconv_close(iconv_t cd); iconv_open iconv.h iconv_open - codeset conversion allocation function iconv_t iconv_open(const char *tocode, const char *fromcode); -if_freenameindex net_if.h if_freenameindex - free memory allocated by if_nameindex void if_freenameindex(struct if_nameindex *ptr); -if_indextoname net_if.h if_indextoname - map a network interface index to its corresponding name char *if_indextoname(unsigned ifindex, char *ifname); -if_nameindex net_if.h if_nameindex - return all network interface names and indexes struct if_nameindex *if_nameindex(void); -if_nametoindex net_if.h if_nametoindex - map a network interface name to its corresponding index unsigned if_nametoindex(const char *ifname); +if_freenameindex net/if.h if_freenameindex - free memory allocated by if_nameindex void if_freenameindex(struct if_nameindex *ptr); +if_indextoname net/if.h if_indextoname - map a network interface index to its corresponding name char *if_indextoname(unsigned ifindex, char *ifname); +if_nameindex net/if.h if_nameindex - return all network interface names and indexes struct if_nameindex *if_nameindex(void); +if_nametoindex net/if.h if_nametoindex - map a network interface name to its corresponding index unsigned if_nametoindex(const char *ifname); ilogb math.h ilogb, ilogbf, ilogbl - return an unbiased exponent int ilogb(double x); ilogbf math.h ilogb, ilogbf, ilogbl - return an unbiased exponent int ilogbf(float x); ilogbl math.h ilogb, ilogbf, ilogbl - return an unbiased exponent int ilogbl(long double x); imaxabs inttypes.h imaxabs - return absolute value intmax_t imaxabs(intmax_t j); imaxdiv inttypes.h imaxdiv - return quotient and remainder imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom); -inet_addr arpa_inet.h inet_addr, inet_ntoa - IPv4 address manipulation in_addr_t inet_addr(const char *cp); -inet_ntoa arpa_inet.h inet_addr, inet_ntoa - IPv4 address manipulation char *inet_ntoa(struct in_addr in); -inet_ntop arpa_inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form const char *inet_ntop(int af, const void *restrict src, char *restrict dst, socklen_t size); -inet_pton arpa_inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form int inet_pton(int af, const char *restrict src, void *restrict dst); +inet_addr arpa/inet.h inet_addr, inet_ntoa - IPv4 address manipulation in_addr_t inet_addr(const char *cp); +inet_ntoa arpa/inet.h inet_addr, inet_ntoa - IPv4 address manipulation char *inet_ntoa(struct in_addr in); +inet_ntop arpa/inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form const char *inet_ntop(int af, const void *restrict src, char *restrict dst, socklen_t size); +inet_pton arpa/inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form int inet_pton(int af, const char *restrict src, void *restrict dst); initstate stdlib.h XSI initstate, random, setstate, srandom - pseudo-random number functions char *initstate(unsigned seed, char *state, size_t size); insque search.h XSI insque, remque - insert or remove an element in a queue void insque(void *element, void *pred); ioctl stropts.h OB XSR ioctl - control a STREAMS device (STREAMS) int ioctl(int fildes, int request, ... /* arg */); @@ -498,7 +498,7 @@ lgammal math.h XSI lgamma, lgammaf, lgammal, signgam - log gamma function long d link unistd.h link, linkat - link one file to another file relative to two directory file descriptors int link(const char *path1, const char *path2); linkat unistd.h link, linkat - link one file to another file relative to two directory file descriptors int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); lio_listio aio.h lio_listio - list directed I/O int lio_listio(int mode, struct aiocb *restrict const list[restrict], int nent, struct sigevent *restrict sig); -listen sys_socket.h listen - listen for socket connections and limit the queue of incoming connections int listen(int socket, int backlog); +listen sys/socket.h listen - listen for socket connections and limit the queue of incoming connections int listen(int socket, int backlog); llabs stdlib.h labs, llabs - return a long integer absolute value long long llabs(long long i); lldiv stdlib.h ldiv, lldiv - compute quotient and remainder of a long division lldiv_t lldiv(long long numer, long long denom); llrint math.h llrint, llrintf, llrintl - round to the nearest integer value using current rounding direction long long llrint(double x); @@ -536,7 +536,7 @@ lroundf math.h lround, lroundf, lroundl - round to nearest integer value long l lroundl math.h lround, lroundf, lroundl - round to nearest integer value long lroundl(long double x); lsearch search.h XSI lsearch, lfind - linear search and update void *lsearch(const void *key, void *base, size_t *nelp, size_t width, int (*compar)(const void *, const void *)); lseek unistd.h lseek - move the read/write file offset off_t lseek(int fildes, off_t offset, int whence); -lstat sys_stat.h fstatat, lstat, stat - get file status int lstat(const char *restrict path, struct stat *restrict buf); +lstat sys/stat.h fstatat, lstat, stat - get file status int lstat(const char *restrict path, struct stat *restrict buf); malloc stdlib.h malloc - a memory allocator void *malloc(size_t size); mblen stdlib.h mblen - get number of bytes in a character int mblen(const char *s, size_t n); mbrlen wchar.h mbrlen - get number of bytes in a character (restartable) size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict ps); @@ -552,22 +552,22 @@ memcmp string.h memcmp - compare bytes in memory int memcmp(const void *s1, con memcpy string.h memcpy - copy bytes in memory void *memcpy(void *restrict s1, const void *restrict s2, size_t n); memmove string.h memmove - copy bytes in memory with overlapping areas void *memmove(void *s1, const void *s2, size_t n); memset string.h memset - set bytes in memory void *memset(void *s, int c, size_t n); -mkdir sys_stat.h mkdir, mkdirat - make a directory relative to directory file descriptor int mkdir(const char *path, mode_t mode); -mkdirat sys_stat.h mkdir, mkdirat - make a directory relative to directory file descriptor int mkdirat(int fd, const char *path, mode_t mode); +mkdir sys/stat.h mkdir, mkdirat - make a directory relative to directory file descriptor int mkdir(const char *path, mode_t mode); +mkdirat sys/stat.h mkdir, mkdirat - make a directory relative to directory file descriptor int mkdirat(int fd, const char *path, mode_t mode); mkdtemp stdlib.h CX mkdtemp, mkstemp - create a unique directory or file char *mkdtemp(char *template); -mkfifo sys_stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor int mkfifo(const char *path, mode_t mode); -mkfifoat sys_stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor int mkfifoat(int fd, const char *path, mode_t mode); -mknod sys_stat.h XSI mknod, mknodat - make directory, special file, or regular file int mknod(const char *path, mode_t mode, dev_t dev); -mknodat sys_stat.h XSI mknod, mknodat - make directory, special file, or regular file int mknodat(int fd, const char *path, mode_t mode, dev_t dev); +mkfifo sys/stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor int mkfifo(const char *path, mode_t mode); +mkfifoat sys/stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor int mkfifoat(int fd, const char *path, mode_t mode); +mknod sys/stat.h XSI mknod, mknodat - make directory, special file, or regular file int mknod(const char *path, mode_t mode, dev_t dev); +mknodat sys/stat.h XSI mknod, mknodat - make directory, special file, or regular file int mknodat(int fd, const char *path, mode_t mode, dev_t dev); mkstemp stdlib.h CX mkdtemp, mkstemp - create a unique directory or file int mkstemp(char *template); mktime time.h mktime - convert broken-down time into time since the Epoch time_t mktime(struct tm *timeptr); -mlock sys_mman.h MLR mlock, munlock - lock or unlock a range of process address space (REALTIME) int mlock(const void *addr, size_t len); -mlockall sys_mman.h ML mlockall, munlockall - lock/unlock the address space of a process (REALTIME) int mlockall(int flags); -mmap sys_mman.h mmap - map pages of memory void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off); +mlock sys/mman.h MLR mlock, munlock - lock or unlock a range of process address space (REALTIME) int mlock(const void *addr, size_t len); +mlockall sys/mman.h ML mlockall, munlockall - lock/unlock the address space of a process (REALTIME) int mlockall(int flags); +mmap sys/mman.h mmap - map pages of memory void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off); modf math.h modf, modff, modfl - decompose a floating-point number double modf(double x, double *iptr); modff math.h modf, modff, modfl - decompose a floating-point number float modff(float value, float *iptr); modfl math.h modf, modff, modfl - decompose a floating-point number long double modfl(long double value, long double *iptr); -mprotect sys_mman.h mprotect - set protection of memory mapping int mprotect(void *addr, size_t len, int prot); +mprotect sys/mman.h mprotect - set protection of memory mapping int mprotect(void *addr, size_t len, int prot); mq_close mqueue.h MSG mq_close - close a message queue (REALTIME) int mq_close(mqd_t mqdes); mq_getattr mqueue.h MSG mq_getattr - get message queue attributes (REALTIME) int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat); mq_notify mqueue.h MSG mq_notify - notify process that a message is available (REALTIME) int mq_notify(mqd_t mqdes, const struct sigevent *notification); @@ -579,14 +579,14 @@ mq_timedreceive mqueue.h mqueue.h time.h MSG mq_receive, mq_timedreceive - recei mq_timedsend mqueue.h mqueue.h time.h MSG mq_send, mq_timedsend - send a message to a message queue (REALTIME) int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abstime); mq_unlink mqueue.h MSG mq_unlink - remove a message queue (REALTIME) int mq_unlink(const char *name); mrand48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers long mrand48(void); -msgctl sys_msg.h XSI msgctl - XSI message control operations int msgctl(int msqid, int cmd, struct msqid_ds *buf); -msgget sys_msg.h XSI msgget - get the XSI message queue identifier int msgget(key_t key, int msgflg); -msgrcv sys_msg.h XSI msgrcv - XSI message receive operation ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); -msgsnd sys_msg.h XSI msgsnd - XSI message send operation int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); -msync sys_mman.h XSI msync - synchronize memory with physical storage int msync(void *addr, size_t len, int flags); -munlock sys_mman.h MLR mlock, munlock - lock or unlock a range of process address space (REALTIME) int munlock(const void *addr, size_t len); -munlockall sys_mman.h ML mlockall, munlockall - lock/unlock the address space of a process (REALTIME) int munlockall(void); -munmap sys_mman.h munmap - unmap pages of memory int munmap(void *addr, size_t len); +msgctl sys/msg.h XSI msgctl - XSI message control operations int msgctl(int msqid, int cmd, struct msqid_ds *buf); +msgget sys/msg.h XSI msgget - get the XSI message queue identifier int msgget(key_t key, int msgflg); +msgrcv sys/msg.h XSI msgrcv - XSI message receive operation ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); +msgsnd sys/msg.h XSI msgsnd - XSI message send operation int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); +msync sys/mman.h XSI msync - synchronize memory with physical storage int msync(void *addr, size_t len, int flags); +munlock sys/mman.h MLR mlock, munlock - lock or unlock a range of process address space (REALTIME) int munlock(const void *addr, size_t len); +munlockall sys/mman.h ML mlockall, munlockall - lock/unlock the address space of a process (REALTIME) int munlockall(void); +munmap sys/mman.h munmap - unmap pages of memory int munmap(void *addr, size_t len); nan math.h nan, nanf, nanl - return quiet NaN double nan(const char *tagp); nanf math.h nan, nanf, nanl - return quiet NaN float nanf(const char *tagp); nanl math.h nan, nanf, nanl - return quiet NaN long double nanl(const char *tagp); @@ -606,8 +606,8 @@ nice unistd.h XSI nice - change the nice value of a process int nice(int incr); nl_langinfo langinfo.h nl_langinfo, nl_langinfo_l - language information char *nl_langinfo(nl_item item); nl_langinfo_l langinfo.h nl_langinfo, nl_langinfo_l - language information char *nl_langinfo_l(nl_item item, locale_t locale); nrand48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers long nrand48(unsigned short xsubi[3]); -ntohl arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint32_t ntohl(uint32_t netlong); -ntohs arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint16_t ntohs(uint16_t netshort); +ntohl arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint32_t ntohl(uint32_t netlong); +ntohs arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint16_t ntohs(uint16_t netshort); open sys/stat.h fcntl.h OH open, openat - open file relative to directory file descriptor int open(const char *path, int oflag, ...); open_memstream stdio.h wchar.h CX open_memstream, open_wmemstream - open a dynamic memory buffer stream FILE *open_memstream(char **bufp, size_t *sizep); open_wmemstream stdio.h wchar.h CX open_memstream, open_wmemstream - open a dynamic memory buffer stream FILE *open_wmemstream(wchar_t **bufp, size_t *sizep); @@ -627,8 +627,8 @@ poll poll.h poll - input/output multiplexing int poll(struct pollfd fds[], nfds popen stdio.h CX popen - initiate pipe streams to or from a process FILE *popen(const char *command, const char *mode); posix_fadvise fcntl.h ADV posix_fadvise - file advisory information (ADVANCED REALTIME) int posix_fadvise(int fd, off_t offset, off_t len, int advice); posix_fallocate fcntl.h ADV posix_fallocate - file space control (ADVANCED REALTIME) int posix_fallocate(int fd, off_t offset, off_t len); -posix_madvise sys_mman.h ADV posix_madvise - memory advisory information and alignment control (ADVANCED REALTIME) int posix_madvise(void *addr, size_t len, int advice); -posix_mem_offset sys_mman.h TYM posix_mem_offset - find offset and length of a mapped typed memory block (ADVANCED REALTIME) int posix_mem_offset(const void *restrict addr, size_t len, off_t *restrict off, size_t *restrict contig_len, int *restrict fildes); +posix_madvise sys/mman.h ADV posix_madvise - memory advisory information and alignment control (ADVANCED REALTIME) int posix_madvise(void *addr, size_t len, int advice); +posix_mem_offset sys/mman.h TYM posix_mem_offset - find offset and length of a mapped typed memory block (ADVANCED REALTIME) int posix_mem_offset(const void *restrict addr, size_t len, off_t *restrict off, size_t *restrict contig_len, int *restrict fildes); posix_memalign stdlib.h ADV posix_memalign - aligned memory allocation (ADVANCED REALTIME) int posix_memalign(void **memptr, size_t alignment, size_t size); posix_openpt stdlib.h fcntl.h XSI posix_openpt - open a pseudo-terminal device int posix_openpt(int oflag); posix_spawn spawn.h SPN posix_spawn, posix_spawnp - spawn a process (ADVANCED REALTIME) int posix_spawn(pid_t *restrict pid, const char *restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *restrict attrp, char *const argv[restrict], char *const envp[restrict]); @@ -658,29 +658,29 @@ posix_trace_attr_getcreatetime time.h trace.h trace.h OB TRC posix_trace_attr_ge posix_trace_attr_getgenversion time.h trace.h trace.h OB TRC posix_trace_attr_getclockres, posix_trace_attr_getcreatetime, posix_trace_attr_getgenversion, posix_trace_attr_getname, posix_trace_attr_setname - retrieve and set information about a trace stream (TRACING) int posix_trace_attr_getgenversion(const trace_attr_t *attr, char *genversion); posix_trace_attr_getinherited trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_getinherited(const trace_attr_t *restrict attr, int *restrict inheritancepolicy); posix_trace_attr_getlogfullpolicy trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_getlogfullpolicy(const trace_attr_t *restrict attr, int *restrict logpolicy); -posix_trace_attr_getlogsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getlogsize(const trace_attr_t *restrict attr, size_t *restrict logsize); -posix_trace_attr_getmaxdatasize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxdatasize(const trace_attr_t *restrict attr, size_t *restrict maxdatasize); -posix_trace_attr_getmaxsystemeventsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxsystemeventsize( const trace_attr_t *restrict attr, size_t *restrict eventsize); -posix_trace_attr_getmaxusereventsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxusereventsize( const trace_attr_t *restrict attr, size_t data_len, size_t *restrict eventsize); +posix_trace_attr_getlogsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getlogsize(const trace_attr_t *restrict attr, size_t *restrict logsize); +posix_trace_attr_getmaxdatasize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxdatasize(const trace_attr_t *restrict attr, size_t *restrict maxdatasize); +posix_trace_attr_getmaxsystemeventsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxsystemeventsize( const trace_attr_t *restrict attr, size_t *restrict eventsize); +posix_trace_attr_getmaxusereventsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxusereventsize( const trace_attr_t *restrict attr, size_t data_len, size_t *restrict eventsize); posix_trace_attr_getname time.h trace.h trace.h OB TRC posix_trace_attr_getclockres, posix_trace_attr_getcreatetime, posix_trace_attr_getgenversion, posix_trace_attr_getname, posix_trace_attr_setname - retrieve and set information about a trace stream (TRACING) int posix_trace_attr_getname(const trace_attr_t *attr, char *tracename); posix_trace_attr_getstreamfullpolicy trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_getstreamfullpolicy(const trace_attr_t *restrict attr, int *restrict streampolicy); -posix_trace_attr_getstreamsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getstreamsize(const trace_attr_t *restrict attr, size_t *restrict streamsize); +posix_trace_attr_getstreamsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getstreamsize(const trace_attr_t *restrict attr, size_t *restrict streamsize); posix_trace_attr_init trace.h OB TRC posix_trace_attr_destroy, posix_trace_attr_init - destroy and initialize the trace stream attributes object (TRACING) int posix_trace_attr_init(trace_attr_t *attr); posix_trace_attr_setinherited trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_setinherited(trace_attr_t *attr, int inheritancepolicy); posix_trace_attr_setlogfullpolicy trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_setlogfullpolicy(trace_attr_t *attr, int logpolicy); -posix_trace_attr_setlogsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setlogsize(trace_attr_t *attr, size_t logsize); -posix_trace_attr_setmaxdatasize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setmaxdatasize(trace_attr_t *attr, size_t maxdatasize); +posix_trace_attr_setlogsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setlogsize(trace_attr_t *attr, size_t logsize); +posix_trace_attr_setmaxdatasize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setmaxdatasize(trace_attr_t *attr, size_t maxdatasize); posix_trace_attr_setname time.h trace.h trace.h OB TRC posix_trace_attr_getclockres, posix_trace_attr_getcreatetime, posix_trace_attr_getgenversion, posix_trace_attr_getname, posix_trace_attr_setname - retrieve and set information about a trace stream (TRACING) int posix_trace_attr_setname(trace_attr_t *attr, const char *tracename); posix_trace_attr_setstreamfullpolicy trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_setstreamfullpolicy(trace_attr_t *attr, int streampolicy); -posix_trace_attr_setstreamsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setstreamsize(trace_attr_t *attr, size_t streamsize); -posix_trace_clear sys_types.h trace.h OB TRC posix_trace_clear - clear trace stream and trace log (TRACING) int posix_trace_clear(trace_id_t trid); +posix_trace_attr_setstreamsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setstreamsize(trace_attr_t *attr, size_t streamsize); +posix_trace_clear sys/types.h trace.h OB TRC posix_trace_clear - clear trace stream and trace log (TRACING) int posix_trace_clear(trace_id_t trid); posix_trace_close trace.h OB TRC TRL posix_trace_close, posix_trace_open, posix_trace_rewind - trace log management (TRACING) int posix_trace_close(trace_id_t trid); -posix_trace_create sys_types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_create(pid_t pid, const trace_attr_t *restrict attr, trace_id_t *restrict trid); -posix_trace_create_withlog sys_types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_create_withlog(pid_t pid, const trace_attr_t *restrict attr, int file_desc, trace_id_t *restrict trid); -posix_trace_event sys_types.h trace.h OB TRC posix_trace_event, posix_trace_eventid_open - trace functions for instrumenting application code (TRACING) void posix_trace_event(trace_event_id_t event_id, const void *restrict data_ptr, size_t data_len); +posix_trace_create sys/types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_create(pid_t pid, const trace_attr_t *restrict attr, trace_id_t *restrict trid); +posix_trace_create_withlog sys/types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_create_withlog(pid_t pid, const trace_attr_t *restrict attr, int file_desc, trace_id_t *restrict trid); +posix_trace_event sys/types.h trace.h OB TRC posix_trace_event, posix_trace_eventid_open - trace functions for instrumenting application code (TRACING) void posix_trace_event(trace_event_id_t event_id, const void *restrict data_ptr, size_t data_len); posix_trace_eventid_equal trace.h OB TRC TEF posix_trace_eventid_equal, posix_trace_eventid_get_name, posix_trace_trid_eventid_open - manipulate the trace event type identifier (TRACING) int posix_trace_eventid_equal(trace_id_t trid, trace_event_id_t event1, trace_event_id_t event2); posix_trace_eventid_get_name trace.h OB TRC TEF posix_trace_eventid_equal, posix_trace_eventid_get_name, posix_trace_trid_eventid_open - manipulate the trace event type identifier (TRACING) int posix_trace_eventid_get_name(trace_id_t trid, trace_event_id_t event, char *event_name); -posix_trace_eventid_open sys_types.h trace.h OB TRC posix_trace_event, posix_trace_eventid_open - trace functions for instrumenting application code (TRACING) int posix_trace_eventid_open(const char *restrict event_name, trace_event_id_t *restrict event_id); +posix_trace_eventid_open sys/types.h trace.h OB TRC posix_trace_event, posix_trace_eventid_open - trace functions for instrumenting application code (TRACING) int posix_trace_eventid_open(const char *restrict event_name, trace_event_id_t *restrict event_id); posix_trace_eventset_add trace.h OB TRC TEF posix_trace_eventset_add, posix_trace_eventset_del, posix_trace_eventset_empty, posix_trace_eventset_fill, posix_trace_eventset_ismember - manipulate trace event type sets (TRACING) int posix_trace_eventset_add(trace_event_id_t event_id, trace_event_set_t *set); posix_trace_eventset_del trace.h OB TRC TEF posix_trace_eventset_add, posix_trace_eventset_del, posix_trace_eventset_empty, posix_trace_eventset_fill, posix_trace_eventset_ismember - manipulate trace event type sets (TRACING) int posix_trace_eventset_del(trace_event_id_t event_id, trace_event_set_t *set); posix_trace_eventset_empty trace.h OB TRC TEF posix_trace_eventset_add, posix_trace_eventset_del, posix_trace_eventset_empty, posix_trace_eventset_fill, posix_trace_eventset_ismember - manipulate trace event type sets (TRACING) int posix_trace_eventset_empty(trace_event_set_t *set); @@ -688,28 +688,28 @@ posix_trace_eventset_fill trace.h OB TRC TEF posix_trace_eventset_add, posix_tra posix_trace_eventset_ismember trace.h OB TRC TEF posix_trace_eventset_add, posix_trace_eventset_del, posix_trace_eventset_empty, posix_trace_eventset_fill, posix_trace_eventset_ismember - manipulate trace event type sets (TRACING) int posix_trace_eventset_ismember(trace_event_id_t event_id, const trace_event_set_t *restrict set, int *restrict ismember); posix_trace_eventtypelist_getnext_id trace.h OB TRC posix_trace_eventtypelist_getnext_id, posix_trace_eventtypelist_rewind - iterate over a mapping of trace event types (TRACING) int posix_trace_eventtypelist_getnext_id(trace_id_t trid, trace_event_id_t *restrict event, int *restrict unavailable); posix_trace_eventtypelist_rewind trace.h OB TRC posix_trace_eventtypelist_getnext_id, posix_trace_eventtypelist_rewind - iterate over a mapping of trace event types (TRACING) int posix_trace_eventtypelist_rewind(trace_id_t trid); -posix_trace_flush sys_types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_flush(trace_id_t trid); +posix_trace_flush sys/types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_flush(trace_id_t trid); posix_trace_get_attr trace.h OB TRC posix_trace_get_attr, posix_trace_get_status - retrieve the trace attributes or trace status (TRACING) int posix_trace_get_attr(trace_id_t trid, trace_attr_t *attr); posix_trace_get_filter trace.h OB TRC TEF posix_trace_get_filter, posix_trace_set_filter - retrieve and set the filter of an initialized trace stream (TRACING) int posix_trace_get_filter(trace_id_t trid, trace_event_set_t *set); posix_trace_get_status trace.h OB TRC posix_trace_get_attr, posix_trace_get_status - retrieve the trace attributes or trace status (TRACING) int posix_trace_get_status(trace_id_t trid, struct posix_trace_status_info *statusinfo); -posix_trace_getnext_event sys_types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_getnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable); +posix_trace_getnext_event sys/types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_getnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable); posix_trace_open trace.h OB TRC TRL posix_trace_close, posix_trace_open, posix_trace_rewind - trace log management (TRACING) int posix_trace_open(int file_desc, trace_id_t *trid); posix_trace_rewind trace.h OB TRC TRL posix_trace_close, posix_trace_open, posix_trace_rewind - trace log management (TRACING) int posix_trace_rewind(trace_id_t trid); posix_trace_set_filter trace.h OB TRC TEF posix_trace_get_filter, posix_trace_set_filter - retrieve and set the filter of an initialized trace stream (TRACING) int posix_trace_set_filter(trace_id_t trid, const trace_event_set_t *set, int how); -posix_trace_shutdown sys_types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_shutdown(trace_id_t trid); +posix_trace_shutdown sys/types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_shutdown(trace_id_t trid); posix_trace_start trace.h OB TRC posix_trace_start, posix_trace_stop - trace start and stop (TRACING) int posix_trace_start(trace_id_t trid); posix_trace_stop trace.h OB TRC posix_trace_start, posix_trace_stop - trace start and stop (TRACING) -posix_trace_timedgetnext_event sys_types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_timedgetnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable, const struct timespec *restrict abstime); +posix_trace_timedgetnext_event sys/types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_timedgetnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable, const struct timespec *restrict abstime); posix_trace_trid_eventid_open trace.h OB TRC TEF posix_trace_eventid_equal, posix_trace_eventid_get_name, posix_trace_trid_eventid_open - manipulate the trace event type identifier (TRACING) int posix_trace_trid_eventid_open(trace_id_t trid, const char *restrict event_name, trace_event_id_t *restrict event); -posix_trace_trygetnext_event sys_types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_trygetnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable); -posix_typed_mem_get_info sys_mman.h TYM posix_typed_mem_get_info - query typed memory information (ADVANCED REALTIME) int posix_typed_mem_get_info(int fildes, struct posix_typed_mem_info *info); -posix_typed_mem_open sys_mman.h TYM posix_typed_mem_open - open a typed memory object (ADVANCED REALTIME) int posix_typed_mem_open(const char *name, int oflag, int tflag); +posix_trace_trygetnext_event sys/types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_trygetnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable); +posix_typed_mem_get_info sys/mman.h TYM posix_typed_mem_get_info - query typed memory information (ADVANCED REALTIME) int posix_typed_mem_get_info(int fildes, struct posix_typed_mem_info *info); +posix_typed_mem_open sys/mman.h TYM posix_typed_mem_open - open a typed memory object (ADVANCED REALTIME) int posix_typed_mem_open(const char *name, int oflag, int tflag); pow math.h pow, powf, powl - power function double pow(double x, double y); powf math.h pow, powf, powl - power function float powf(float x, float y); powl math.h pow, powf, powl - power function long double powl(long double x, long double y); pread unistd.h pread, read - read from a file ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); printf stdio.h CX dprintf, fprintf, printf, snprintf, sprintf - print formatted output int printf(const char *restrict format, ...); -pselect sys_select.h pselect, select - synchronous I/O multiplexing int pselect(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, const struct timespec *restrict timeout, const sigset_t *restrict sigmask); +pselect sys/select.h pselect, select - synchronous I/O multiplexing int pselect(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, const struct timespec *restrict timeout, const sigset_t *restrict sigmask); psiginfo signal.h CX psiginfo, psignal - print signal information to standard error void psiginfo(const siginfo_t *pinfo, const char *message); psignal signal.h CX psiginfo, psignal - print signal information to standard error void psignal(int signum, const char *message); pthread_atfork pthread.h pthread_atfork - register fork handlers int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)); @@ -837,12 +837,12 @@ readdir dirent.h readdir, readdir_r - read a directory struct dirent *readdir(D readdir_r dirent.h readdir, readdir_r - read a directory int readdir_r(DIR *restrict dirp, struct dirent *restrict entry, struct dirent **restrict result); readlink unistd.h readlink, readlinkat - read the contents of a symbolic link relative to a directory file descriptor ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize); readlinkat unistd.h readlink, readlinkat - read the contents of a symbolic link relative to a directory file descriptor ssize_t readlinkat(int fd, const char *restrict path, char *restrict buf, size_t bufsize); -readv sys_uio.h XSI readv - read a vector ssize_t readv(int fildes, const struct iovec *iov, int iovcnt); +readv sys/uio.h XSI readv - read a vector ssize_t readv(int fildes, const struct iovec *iov, int iovcnt); realloc stdlib.h realloc - memory reallocator void *realloc(void *ptr, size_t size); realpath stdlib.h XSI realpath - resolve a pathname char *realpath(const char *restrict file_name, char *restrict resolved_name); -recv sys_socket.h recv - receive a message from a connected socket ssize_t recv(int socket, void *buffer, size_t length, int flags); -recvfrom sys_socket.h recvfrom - receive a message from a socket ssize_t recvfrom(int socket, void *restrict buffer, size_t length, int flags, struct sockaddr *restrict address, socklen_t *restrict address_len); -recvmsg sys_socket.h recvmsg - receive a message from a socket ssize_t recvmsg(int socket, struct msghdr *message, int flags); +recv sys/socket.h recv - receive a message from a connected socket ssize_t recv(int socket, void *buffer, size_t length, int flags); +recvfrom sys/socket.h recvfrom - receive a message from a socket ssize_t recvfrom(int socket, void *restrict buffer, size_t length, int flags, struct sockaddr *restrict address, socklen_t *restrict address_len); +recvmsg sys/socket.h recvmsg - receive a message from a socket ssize_t recvmsg(int socket, struct msghdr *message, int flags); regcomp regex.h regcomp, regerror, regexec, regfree - regular expression matching int regcomp(regex_t *restrict preg, const char *restrict pattern, int cflags); regerror regex.h regcomp, regerror, regexec, regfree - regular expression matching size_t regerror(int errcode, const regex_t *restrict preg, char *restrict errbuf, size_t errbuf_size); regexec regex.h regcomp, regerror, regexec, regfree - regular expression matching int regexec(const regex_t *restrict preg, const char *restrict string, size_t nmatch, regmatch_t pmatch[restrict], int eflags); @@ -884,7 +884,7 @@ sched_setscheduler sched.h PS sched_setscheduler - set scheduling policy and par sched_yield sched.h sched_yield - yield the processor int sched_yield(void); seed48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers unsigned short *seed48(unsigned short seed16v[3]); seekdir dirent.h XSI seekdir - set the position of a directory stream void seekdir(DIR *dirp, long loc); -select sys_select.h pselect, select - synchronous I/O multiplexing int select(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, struct timeval *restrict timeout); +select sys/select.h pselect, select - synchronous I/O multiplexing int select(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, struct timeval *restrict timeout); sem_close semaphore.h sem_close - close a named semaphore int sem_close(sem_t *sem); sem_destroy semaphore.h sem_destroy - destroy an unnamed semaphore int sem_destroy(sem_t *sem); sem_getvalue semaphore.h sem_getvalue - get the value of a semaphore int sem_getvalue(sem_t *restrict sem, int *restrict sval); @@ -896,11 +896,11 @@ sem_trywait semaphore.h sem_trywait, sem_wait - lock a semaphore int sem_trywai sem_unlink semaphore.h sem_unlink - remove a named semaphore int sem_unlink(const char *name); sem_wait semaphore.h sem_trywait, sem_wait - lock a semaphore int sem_wait(sem_t *sem); semctl sys/sem.h XSI semctl - XSI semaphore control operations int semctl(int semid, int semnum, int cmd, ...); -semget sys_sem.h XSI semget - get set of XSI semaphores int semget(key_t key, int nsems, int semflg); -semop sys_sem.h XSI semop - XSI semaphore operations int semop(int semid, struct sembuf *sops, size_t nsops); -send sys_socket.h send - send a message on a socket ssize_t send(int socket, const void *buffer, size_t length, int flags); -sendmsg sys_socket.h sendmsg - send a message on a socket using a message structure ssize_t sendmsg(int socket, const struct msghdr *message, int flags); -sendto sys_socket.h sendto - send a message on a socket ssize_t sendto(int socket, const void *message, size_t length, int flags, const struct sockaddr *dest_addr, socklen_t dest_len); +semget sys/sem.h XSI semget - get set of XSI semaphores int semget(key_t key, int nsems, int semflg); +semop sys/sem.h XSI semop - XSI semaphore operations int semop(int semid, struct sembuf *sops, size_t nsops); +send sys/socket.h send - send a message on a socket ssize_t send(int socket, const void *buffer, size_t length, int flags); +sendmsg sys/socket.h sendmsg - send a message on a socket using a message structure ssize_t sendmsg(int socket, const struct msghdr *message, int flags); +sendto sys/socket.h sendto - send a message on a socket ssize_t sendto(int socket, const void *message, size_t length, int flags, const struct sockaddr *dest_addr, socklen_t dest_len); setbuf stdio.h setbuf - assign buffering to a stream void setbuf(FILE *restrict stream, char *restrict buf); setegid unistd.h setegid - set the effective group ID int setegid(gid_t gid); setenv stdlib.h CX setenv - add or change environment variable int setenv(const char *envname, const char *envval, int overwrite); @@ -908,7 +908,7 @@ seteuid unistd.h seteuid - set effective user ID int seteuid(uid_t uid); setgid unistd.h setgid - set-group-ID int setgid(gid_t gid); setgrent grp.h XSI endgrent, getgrent, setgrent - group database entry functions void setgrent(void); sethostent netdb.h endhostent, gethostent, sethostent - network host database functions void sethostent(int stayopen); -setitimer sys_time.h OB XSI getitimer, setitimer - get and set value of interval timer int setitimer(int which, const struct itimerval *restrict value, struct itimerval *restrict ovalue); +setitimer sys/time.h OB XSI getitimer, setitimer - get and set value of interval timer int setitimer(int which, const struct itimerval *restrict value, struct itimerval *restrict ovalue); setjmp setjmp.h setjmp - set jump point for a non-local goto int setjmp(jmp_buf env); setkey stdlib.h XSI setkey - set encoding key (CRYPT) void setkey(const char *key); setlocale locale.h setlocale - set program locale char *setlocale(int category, const char *locale); @@ -916,26 +916,26 @@ setlogmask syslog.h XSI closelog, openlog, setlogmask, syslog - control system l setnetent netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions void setnetent(int stayopen); setpgid unistd.h setpgid - set process group ID for job control int setpgid(pid_t pid, pid_t pgid); setpgrp unistd.h OB XSI setpgrp - set the process group ID pid_t setpgrp(void); -setpriority sys_resource.h XSI getpriority, setpriority - get and set the nice value int setpriority(int which, id_t who, int value); +setpriority sys/resource.h XSI getpriority, setpriority - get and set the nice value int setpriority(int which, id_t who, int value); setprotoent netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions void setprotoent(int stayopen); setpwent pwd.h XSI endpwent, getpwent, setpwent - user database functions void setpwent(void); setregid unistd.h XSI setregid - set real and effective group IDs int setregid(gid_t rgid, gid_t egid); setreuid unistd.h XSI setreuid - set real and effective user IDs int setreuid(uid_t ruid, uid_t euid); -setrlimit sys_resource.h XSI getrlimit, setrlimit - control maximum resource consumption int setrlimit(int resource, const struct rlimit *rlp); +setrlimit sys/resource.h XSI getrlimit, setrlimit - control maximum resource consumption int setrlimit(int resource, const struct rlimit *rlp); setservent netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions void setservent(int stayopen); setsid unistd.h setsid - create session and set process group ID pid_t setsid(void); -setsockopt sys_socket.h setsockopt - set the socket options int setsockopt(int socket, int level, int option_name, const void *option_value, socklen_t option_len); +setsockopt sys/socket.h setsockopt - set the socket options int setsockopt(int socket, int level, int option_name, const void *option_value, socklen_t option_len); setstate stdlib.h XSI initstate, random, setstate, srandom - pseudo-random number functions char *setstate(char *state); setuid unistd.h setuid - set user ID int setuid(uid_t uid); setutxent utmpx.h XSI endutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions void setutxent(void); setvbuf stdio.h setvbuf - assign buffering to a stream int setvbuf(FILE *restrict stream, char *restrict buf, int type, size_t size); -shm_open sys_mman.h SHM shm_open - open a shared memory object (REALTIME) int shm_open(const char *name, int oflag, mode_t mode); -shm_unlink sys_mman.h SHM shm_unlink - remove a shared memory object (REALTIME) int shm_unlink(const char *name); -shmat sys_shm.h XSI shmat - XSI shared memory attach operation void *shmat(int shmid, const void *shmaddr, int shmflg); -shmctl sys_shm.h XSI shmctl - XSI shared memory control operations int shmctl(int shmid, int cmd, struct shmid_ds *buf); -shmdt sys_shm.h XSI shmdt - XSI shared memory detach operation int shmdt(const void *shmaddr); -shmget sys_shm.h XSI shmget - get an XSI shared memory segment int shmget(key_t key, size_t size, int shmflg); -shutdown sys_socket.h shutdown - shut down socket send and receive operations int shutdown(int socket, int how); +shm_open sys/mman.h SHM shm_open - open a shared memory object (REALTIME) int shm_open(const char *name, int oflag, mode_t mode); +shm_unlink sys/mman.h SHM shm_unlink - remove a shared memory object (REALTIME) int shm_unlink(const char *name); +shmat sys/shm.h XSI shmat - XSI shared memory attach operation void *shmat(int shmid, const void *shmaddr, int shmflg); +shmctl sys/shm.h XSI shmctl - XSI shared memory control operations int shmctl(int shmid, int cmd, struct shmid_ds *buf); +shmdt sys/shm.h XSI shmdt - XSI shared memory detach operation int shmdt(const void *shmaddr); +shmget sys/shm.h XSI shmget - get an XSI shared memory segment int shmget(key_t key, size_t size, int shmflg); +shutdown sys/socket.h shutdown - shut down socket send and receive operations int shutdown(int socket, int how); sigaction signal.h CX sigaction - examine and change a signal action int sigaction(int sig, const struct sigaction *restrict act, struct sigaction *restrict oact); sigaddset signal.h CX sigaddset - add a signal to a signal set int sigaddset(sigset_t *set, int signo); sigaltstack signal.h XSI sigaltstack - set and get signal alternate stack context int sigaltstack(const stack_t *restrict ss, stack_t *restrict oss); @@ -969,9 +969,9 @@ sinhl math.h sinh, sinhf, sinhl - hyperbolic sine functions long double sinhl(l sinl math.h sin, sinf, sinl - sine function long double sinl(long double x); sleep unistd.h sleep - suspend execution for an interval of time unsigned sleep(unsigned seconds); snprintf stdio.h CX dprintf, fprintf, printf, snprintf, sprintf - print formatted output int snprintf(char *restrict s, size_t n, const char *restrict format, ...); -sockatmark sys_socket.h sockatmark - determine whether a socket is at the out-of-band mark int sockatmark(int s); -socket sys_socket.h socket - create an endpoint for communication int socket(int domain, int type, int protocol); -socketpair sys_socket.h socketpair - create a pair of connected sockets int socketpair(int domain, int type, int protocol, int socket_vector[2]); +sockatmark sys/socket.h sockatmark - determine whether a socket is at the out-of-band mark int sockatmark(int s); +socket sys/socket.h socket - create an endpoint for communication int socket(int domain, int type, int protocol); +socketpair sys/socket.h socketpair - create a pair of connected sockets int socketpair(int domain, int type, int protocol, int socket_vector[2]); sprintf stdio.h CX dprintf, fprintf, printf, snprintf, sprintf - print formatted output int sprintf(char *restrict s, const char *restrict format, ...); sqrt math.h sqrt, sqrtf, sqrtl - square root function double sqrt(double x); sqrtf math.h sqrt, sqrtf, sqrtl - square root function float sqrtf(float x); @@ -980,8 +980,8 @@ srand stdlib.h OB CX rand, rand_r, srand - pseudo-random number generator void s srand48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers void srand48(long seedval); srandom stdlib.h XSI initstate, random, setstate, srandom - pseudo-random number functions void srandom(unsigned seed); sscanf stdio.h fscanf, scanf, sscanf - convert formatted input int sscanf(const char *restrict s, const char *restrict format, ...); -stat sys_stat.h fstatat, lstat, stat - get file status int stat(const char *restrict path, struct stat *restrict buf); -statvfs sys_statvfs.h fstatvfs, statvfs - get file system information int statvfs(const char *restrict path, struct statvfs *restrict buf); +stat sys/stat.h fstatat, lstat, stat - get file status int stat(const char *restrict path, struct stat *restrict buf); +statvfs sys/statvfs.h fstatvfs, statvfs - get file system information int statvfs(const char *restrict path, struct statvfs *restrict buf); stderr stdio.h stderr, stdin, stdout - standard I/O streams stdin stdio.h stderr, stdin, stdout - standard I/O streams stdout stdio.h stderr, stdin, stdout - standard I/O streams @@ -1068,7 +1068,7 @@ timer_delete time.h CX timer_delete - delete a per-process timer int timer_delet timer_getoverrun time.h CX timer_getoverrun, timer_gettime, timer_settime - per-process timers int timer_getoverrun(timer_t timerid); timer_gettime time.h CX timer_getoverrun, timer_gettime, timer_settime - per-process timers int timer_gettime(timer_t timerid, struct itimerspec *value); timer_settime time.h CX timer_getoverrun, timer_gettime, timer_settime - per-process timers int timer_settime(timer_t timerid, int flags, const struct itimerspec *restrict value, struct itimerspec *restrict ovalue); -times sys_times.h times - get process and waited-for child process times clock_t times(struct tms *buffer); +times sys/times.h times - get process and waited-for child process times clock_t times(struct tms *buffer); timezone time.h XSI CX daylight, timezone, tzname, tzset - set timezone conversion information tmpfile stdio.h tmpfile - create a temporary file FILE *tmpfile(void); tmpnam stdio.h OB tmpnam - create a name for a temporary file char *tmpnam(char *s); @@ -1094,8 +1094,8 @@ twalk search.h XSI tdelete, tfind, tsearch, twalk - manage a binary search tree tzname time.h XSI CX daylight, timezone, tzname, tzset - set timezone conversion information tzset time.h XSI CX daylight, timezone, tzname, tzset - set timezone conversion information void tzset(void); ulimit ulimit.h OB XSI ulimit - get and set process limits long ulimit(int cmd, ...); -umask sys_stat.h umask - set and get the file mode creation mask mode_t umask(mode_t cmask); -uname sys_utsname.h uname - get the name of the current system int uname(struct utsname *name); +umask sys/stat.h umask - set and get the file mode creation mask mode_t umask(mode_t cmask); +uname sys/utsname.h uname - get the name of the current system int uname(struct utsname *name); ungetc stdio.h ungetc - push byte back into input stream int ungetc(int c, FILE *stream); ungetwc stdio.h wchar.h ungetwc - push wide-character code back into the input stream wint_t ungetwc(wint_t wc, FILE *stream); unlink unistd.h unlink, unlinkat - remove a directory entry relative to directory file descriptor int unlink(const char *path); @@ -1104,8 +1104,8 @@ unlockpt stdlib.h XSI unlockpt - unlock a pseudo-terminal master/slave pair int unsetenv stdlib.h CX unsetenv - remove an environment variable int unsetenv(const char *name); uselocale locale.h CX uselocale - use locale in current thread locale_t uselocale(locale_t newloc); utime utime.h OB utime - set file access and modification times int utime(const char *path, const struct utimbuf *times); -utimensat sys_stat.h sys_time.h XSI futimens, utimensat, utimes - set file access and modification times int utimensat(int fd, const char *path, const struct timespec times[2], int flag); -utimes sys_stat.h sys_time.h XSI futimens, utimensat, utimes - set file access and modification times int utimes(const char *path, const struct timeval times[2]); +utimensat sys/stat.h sys/time.h XSI futimens, utimensat, utimes - set file access and modification times int utimensat(int fd, const char *path, const struct timespec times[2], int flag); +utimes sys/stat.h sys/time.h XSI futimens, utimensat, utimes - set file access and modification times int utimes(const char *path, const struct timeval times[2]); va_arg stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list type va_arg(va_list ap, type); va_copy stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list void va_copy(va_list dest, va_list src); va_end stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list void va_end(va_list ap); @@ -1124,9 +1124,9 @@ vswprintf stdarg.h stdio.h wchar.h vfwprintf, vswprintf, vwprintf - wide-charac vswscanf stdarg.h stdio.h wchar.h vfwscanf, vswscanf, vwscanf - wide-character formatted input of a stdarg argument list int vswscanf(const wchar_t *restrict ws, const wchar_t *restrict format, va_list arg); vwprintf stdarg.h stdio.h wchar.h vfwprintf, vswprintf, vwprintf - wide-character formatted output of a stdarg argument list int vwprintf(const wchar_t *restrict format, va_list arg); vwscanf stdarg.h stdio.h wchar.h vfwscanf, vswscanf, vwscanf - wide-character formatted input of a stdarg argument list int vwscanf(const wchar_t *restrict format, va_list arg); -wait sys_wait.h wait, waitpid - wait for a child process to stop or terminate pid_t wait(int *stat_loc); -waitid sys_wait.h waitid - wait for a child process to change state int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); -waitpid sys_wait.h wait, waitpid - wait for a child process to stop or terminate pid_t waitpid(pid_t pid, int *stat_loc, int options); +wait sys/wait.h wait, waitpid - wait for a child process to stop or terminate pid_t wait(int *stat_loc); +waitid sys/wait.h waitid - wait for a child process to change state int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); +waitpid sys/wait.h wait, waitpid - wait for a child process to stop or terminate pid_t waitpid(pid_t pid, int *stat_loc, int options); wcpcpy wchar.h CX wcpcpy, wcscpy - copy a wide-character string, returning a pointer to its end wchar_t *wcpcpy(wchar_t *restrict ws1, const wchar_t *restrict ws2); wcpncpy wchar.h CX wcpncpy, wcsncpy - copy a fixed-size wide-character string, returning a pointer to its end wchar_t *wcpncpy(wchar_t restrict *ws1, const wchar_t *restrict ws2, size_t n); wcrtomb stdio.h wcrtomb - convert a wide-character code to a character (restartable) size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict ps); @@ -1184,7 +1184,7 @@ wordexp wordexp.h wordexp, wordfree - perform word expansions int wordexp(const wordfree wordexp.h wordexp, wordfree - perform word expansions void wordfree(wordexp_t *pwordexp); wprintf stdio.h wchar.h fwprintf, swprintf, wprintf - print formatted wide-character output int wprintf(const wchar_t *restrict format, ...); write unistd.h pwrite, write - write on a file ssize_t write(int fildes, const void *buf, size_t nbyte); -writev sys_uio.h XSI writev - write a vector ssize_t writev(int fildes, const struct iovec *iov, int iovcnt); +writev sys/uio.h XSI writev - write a vector ssize_t writev(int fildes, const struct iovec *iov, int iovcnt); wscanf stdio.h wchar.h fwscanf, swscanf, wscanf - convert formatted wide-character input int wscanf(const wchar_t *restrict format, ...); y0 math.h XSI y0, y1, yn - Bessel functions of the second kind double y0(double x); y1 math.h XSI y0, y1, yn - Bessel functions of the second kind double y1(double x); diff --git a/data/posix2008.dead b/data/posix2008.dead index edaa5bc..2609cd5 100644 --- a/data/posix2008.dead +++ b/data/posix2008.dead @@ -10,29 +10,29 @@ posix_trace_attr_getcreatetime time.h trace.h trace.h OB TRC posix_trace_attr_ge posix_trace_attr_getgenversion time.h trace.h trace.h OB TRC posix_trace_attr_getclockres, posix_trace_attr_getcreatetime, posix_trace_attr_getgenversion, posix_trace_attr_getname, posix_trace_attr_setname - retrieve and set information about a trace stream (TRACING) int posix_trace_attr_getgenversion(const trace_attr_t *attr, char *genversion); posix_trace_attr_getinherited trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_getinherited(const trace_attr_t *restrict attr, int *restrict inheritancepolicy); posix_trace_attr_getlogfullpolicy trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_getlogfullpolicy(const trace_attr_t *restrict attr, int *restrict logpolicy); -posix_trace_attr_getlogsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getlogsize(const trace_attr_t *restrict attr, size_t *restrict logsize); -posix_trace_attr_getmaxdatasize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxdatasize(const trace_attr_t *restrict attr, size_t *restrict maxdatasize); -posix_trace_attr_getmaxsystemeventsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxsystemeventsize( const trace_attr_t *restrict attr, size_t *restrict eventsize); -posix_trace_attr_getmaxusereventsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxusereventsize( const trace_attr_t *restrict attr, size_t data_len, size_t *restrict eventsize); +posix_trace_attr_getlogsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getlogsize(const trace_attr_t *restrict attr, size_t *restrict logsize); +posix_trace_attr_getmaxdatasize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxdatasize(const trace_attr_t *restrict attr, size_t *restrict maxdatasize); +posix_trace_attr_getmaxsystemeventsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxsystemeventsize( const trace_attr_t *restrict attr, size_t *restrict eventsize); +posix_trace_attr_getmaxusereventsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getmaxusereventsize( const trace_attr_t *restrict attr, size_t data_len, size_t *restrict eventsize); posix_trace_attr_getname time.h trace.h trace.h OB TRC posix_trace_attr_getclockres, posix_trace_attr_getcreatetime, posix_trace_attr_getgenversion, posix_trace_attr_getname, posix_trace_attr_setname - retrieve and set information about a trace stream (TRACING) int posix_trace_attr_getname(const trace_attr_t *attr, char *tracename); posix_trace_attr_getstreamfullpolicy trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_getstreamfullpolicy(const trace_attr_t *restrict attr, int *restrict streampolicy); -posix_trace_attr_getstreamsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getstreamsize(const trace_attr_t *restrict attr, size_t *restrict streamsize); +posix_trace_attr_getstreamsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_getstreamsize(const trace_attr_t *restrict attr, size_t *restrict streamsize); posix_trace_attr_init trace.h OB TRC posix_trace_attr_destroy, posix_trace_attr_init - destroy and initialize the trace stream attributes object (TRACING) int posix_trace_attr_init(trace_attr_t *attr); posix_trace_attr_setinherited trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_setinherited(trace_attr_t *attr, int inheritancepolicy); posix_trace_attr_setlogfullpolicy trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_setlogfullpolicy(trace_attr_t *attr, int logpolicy); -posix_trace_attr_setlogsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setlogsize(trace_attr_t *attr, size_t logsize); -posix_trace_attr_setmaxdatasize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setmaxdatasize(trace_attr_t *attr, size_t maxdatasize); +posix_trace_attr_setlogsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setlogsize(trace_attr_t *attr, size_t logsize); +posix_trace_attr_setmaxdatasize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setmaxdatasize(trace_attr_t *attr, size_t maxdatasize); posix_trace_attr_setname time.h trace.h trace.h OB TRC posix_trace_attr_getclockres, posix_trace_attr_getcreatetime, posix_trace_attr_getgenversion, posix_trace_attr_getname, posix_trace_attr_setname - retrieve and set information about a trace stream (TRACING) int posix_trace_attr_setname(trace_attr_t *attr, const char *tracename); posix_trace_attr_setstreamfullpolicy trace.h OB TRC TRI TRL TRI TRL posix_trace_attr_getinherited, posix_trace_attr_getlogfullpolicy, posix_trace_attr_getstreamfullpolicy, posix_trace_attr_setinherited, posix_trace_attr_setlogfullpolicy, posix_trace_attr_setstreamfullpolicy - retrieve and set the behavior of a trace stream (TRACING) int posix_trace_attr_setstreamfullpolicy(trace_attr_t *attr, int streampolicy); -posix_trace_attr_setstreamsize sys_types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setstreamsize(trace_attr_t *attr, size_t streamsize); -posix_trace_clear sys_types.h trace.h OB TRC posix_trace_clear - clear trace stream and trace log (TRACING) int posix_trace_clear(trace_id_t trid); +posix_trace_attr_setstreamsize sys/types.h trace.h OB TRC TRL TRL posix_trace_attr_getlogsize, posix_trace_attr_getmaxdatasize, posix_trace_attr_getmaxsystemeventsize, posix_trace_attr_getmaxusereventsize, posix_trace_attr_getstreamsize, posix_trace_attr_setlogsize, posix_trace_attr_setmaxdatasize, posix_trace_attr_setstreamsize - retrieve and set trace stream size attributes (TRACING) int posix_trace_attr_setstreamsize(trace_attr_t *attr, size_t streamsize); +posix_trace_clear sys/types.h trace.h OB TRC posix_trace_clear - clear trace stream and trace log (TRACING) int posix_trace_clear(trace_id_t trid); posix_trace_close trace.h OB TRC TRL posix_trace_close, posix_trace_open, posix_trace_rewind - trace log management (TRACING) int posix_trace_close(trace_id_t trid); -posix_trace_create sys_types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_create(pid_t pid, const trace_attr_t *restrict attr, trace_id_t *restrict trid); -posix_trace_create_withlog sys_types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_create_withlog(pid_t pid, const trace_attr_t *restrict attr, int file_desc, trace_id_t *restrict trid); -posix_trace_event sys_types.h trace.h OB TRC posix_trace_event, posix_trace_eventid_open - trace functions for instrumenting application code (TRACING) void posix_trace_event(trace_event_id_t event_id, const void *restrict data_ptr, size_t data_len); +posix_trace_create sys/types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_create(pid_t pid, const trace_attr_t *restrict attr, trace_id_t *restrict trid); +posix_trace_create_withlog sys/types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_create_withlog(pid_t pid, const trace_attr_t *restrict attr, int file_desc, trace_id_t *restrict trid); +posix_trace_event sys/types.h trace.h OB TRC posix_trace_event, posix_trace_eventid_open - trace functions for instrumenting application code (TRACING) void posix_trace_event(trace_event_id_t event_id, const void *restrict data_ptr, size_t data_len); posix_trace_eventid_equal trace.h OB TRC TEF posix_trace_eventid_equal, posix_trace_eventid_get_name, posix_trace_trid_eventid_open - manipulate the trace event type identifier (TRACING) int posix_trace_eventid_equal(trace_id_t trid, trace_event_id_t event1, trace_event_id_t event2); posix_trace_eventid_get_name trace.h OB TRC TEF posix_trace_eventid_equal, posix_trace_eventid_get_name, posix_trace_trid_eventid_open - manipulate the trace event type identifier (TRACING) int posix_trace_eventid_get_name(trace_id_t trid, trace_event_id_t event, char *event_name); -posix_trace_eventid_open sys_types.h trace.h OB TRC posix_trace_event, posix_trace_eventid_open - trace functions for instrumenting application code (TRACING) int posix_trace_eventid_open(const char *restrict event_name, trace_event_id_t *restrict event_id); +posix_trace_eventid_open sys/types.h trace.h OB TRC posix_trace_event, posix_trace_eventid_open - trace functions for instrumenting application code (TRACING) int posix_trace_eventid_open(const char *restrict event_name, trace_event_id_t *restrict event_id); posix_trace_eventset_add trace.h OB TRC TEF posix_trace_eventset_add, posix_trace_eventset_del, posix_trace_eventset_empty, posix_trace_eventset_fill, posix_trace_eventset_ismember - manipulate trace event type sets (TRACING) int posix_trace_eventset_add(trace_event_id_t event_id, trace_event_set_t *set); posix_trace_eventset_del trace.h OB TRC TEF posix_trace_eventset_add, posix_trace_eventset_del, posix_trace_eventset_empty, posix_trace_eventset_fill, posix_trace_eventset_ismember - manipulate trace event type sets (TRACING) int posix_trace_eventset_del(trace_event_id_t event_id, trace_event_set_t *set); posix_trace_eventset_empty trace.h OB TRC TEF posix_trace_eventset_add, posix_trace_eventset_del, posix_trace_eventset_empty, posix_trace_eventset_fill, posix_trace_eventset_ismember - manipulate trace event type sets (TRACING) int posix_trace_eventset_empty(trace_event_set_t *set); @@ -40,19 +40,19 @@ posix_trace_eventset_fill trace.h OB TRC TEF posix_trace_eventset_add, posix_tra posix_trace_eventset_ismember trace.h OB TRC TEF posix_trace_eventset_add, posix_trace_eventset_del, posix_trace_eventset_empty, posix_trace_eventset_fill, posix_trace_eventset_ismember - manipulate trace event type sets (TRACING) int posix_trace_eventset_ismember(trace_event_id_t event_id, const trace_event_set_t *restrict set, int *restrict ismember); posix_trace_eventtypelist_getnext_id trace.h OB TRC posix_trace_eventtypelist_getnext_id, posix_trace_eventtypelist_rewind - iterate over a mapping of trace event types (TRACING) int posix_trace_eventtypelist_getnext_id(trace_id_t trid, trace_event_id_t *restrict event, int *restrict unavailable); posix_trace_eventtypelist_rewind trace.h OB TRC posix_trace_eventtypelist_getnext_id, posix_trace_eventtypelist_rewind - iterate over a mapping of trace event types (TRACING) int posix_trace_eventtypelist_rewind(trace_id_t trid); -posix_trace_flush sys_types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_flush(trace_id_t trid); +posix_trace_flush sys/types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_flush(trace_id_t trid); posix_trace_get_attr trace.h OB TRC posix_trace_get_attr, posix_trace_get_status - retrieve the trace attributes or trace status (TRACING) int posix_trace_get_attr(trace_id_t trid, trace_attr_t *attr); posix_trace_get_filter trace.h OB TRC TEF posix_trace_get_filter, posix_trace_set_filter - retrieve and set the filter of an initialized trace stream (TRACING) int posix_trace_get_filter(trace_id_t trid, trace_event_set_t *set); posix_trace_get_status trace.h OB TRC posix_trace_get_attr, posix_trace_get_status - retrieve the trace attributes or trace status (TRACING) int posix_trace_get_status(trace_id_t trid, struct posix_trace_status_info *statusinfo); -posix_trace_getnext_event sys_types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_getnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable); +posix_trace_getnext_event sys/types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_getnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable); posix_trace_open trace.h OB TRC TRL posix_trace_close, posix_trace_open, posix_trace_rewind - trace log management (TRACING) int posix_trace_open(int file_desc, trace_id_t *trid); posix_trace_rewind trace.h OB TRC TRL posix_trace_close, posix_trace_open, posix_trace_rewind - trace log management (TRACING) int posix_trace_rewind(trace_id_t trid); posix_trace_set_filter trace.h OB TRC TEF posix_trace_get_filter, posix_trace_set_filter - retrieve and set the filter of an initialized trace stream (TRACING) int posix_trace_set_filter(trace_id_t trid, const trace_event_set_t *set, int how); -posix_trace_shutdown sys_types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_shutdown(trace_id_t trid); +posix_trace_shutdown sys/types.h trace.h OB TRC TRL posix_trace_create, posix_trace_create_withlog, posix_trace_flush, posix_trace_shutdown - trace stream initialization, flush, and shutdown from a process (TRACING) int posix_trace_shutdown(trace_id_t trid); posix_trace_start trace.h OB TRC posix_trace_start, posix_trace_stop - trace start and stop (TRACING) int posix_trace_start(trace_id_t trid); posix_trace_stop trace.h OB TRC posix_trace_start, posix_trace_stop - trace start and stop (TRACING) -posix_trace_timedgetnext_event sys_types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_timedgetnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable, const struct timespec *restrict abstime); +posix_trace_timedgetnext_event sys/types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_timedgetnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable, const struct timespec *restrict abstime); posix_trace_trid_eventid_open trace.h OB TRC TEF posix_trace_eventid_equal, posix_trace_eventid_get_name, posix_trace_trid_eventid_open - manipulate the trace event type identifier (TRACING) int posix_trace_trid_eventid_open(trace_id_t trid, const char *restrict event_name, trace_event_id_t *restrict event); -posix_trace_trygetnext_event sys_types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_trygetnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable); +posix_trace_trygetnext_event sys/types.h trace.h OB TRC posix_trace_getnext_event, posix_trace_timedgetnext_event, posix_trace_trygetnext_event - retrieve a trace event (TRACING) int posix_trace_trygetnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable); putmsg stropts.h OB XSR putmsg, putpmsg - send a message on a STREAM (STREAMS) int putmsg(int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr, int flags); putpmsg stropts.h OB XSR putmsg, putpmsg - send a message on a STREAM (STREAMS) int putpmsg(int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr, int band, int flags); diff --git a/data/posix2008.ok b/data/posix2008.ok index 26b68db..0c618ec 100644 --- a/data/posix2008.ok +++ b/data/posix2008.ok @@ -1,7 +1,7 @@ -FD_CLR sys_select.h pselect, select - synchronous I/O multiplexing void FD_CLR(int fd, fd_set *fdset); -FD_ISSET sys_select.h pselect, select - synchronous I/O multiplexing int FD_ISSET(int fd, fd_set *fdset); -FD_SET sys_select.h pselect, select - synchronous I/O multiplexing void FD_SET(int fd, fd_set *fdset); -FD_ZERO sys_select.h pselect, select - synchronous I/O multiplexing void FD_ZERO(fd_set *fdset); +FD_CLR sys/select.h pselect, select - synchronous I/O multiplexing void FD_CLR(int fd, fd_set *fdset); +FD_ISSET sys/select.h pselect, select - synchronous I/O multiplexing int FD_ISSET(int fd, fd_set *fdset); +FD_SET sys/select.h pselect, select - synchronous I/O multiplexing void FD_SET(int fd, fd_set *fdset); +FD_ZERO sys/select.h pselect, select - synchronous I/O multiplexing void FD_ZERO(fd_set *fdset); _Exit stdlib.h unistd.h _Exit, _exit - terminate a process void _Exit(int status); _exit stdlib.h unistd.h _Exit, _exit - terminate a process void _exit(int status); _longjmp setjmp.h OB XSI _longjmp, _setjmp - non-local goto void _longjmp(jmp_buf env, int val); @@ -11,7 +11,7 @@ _toupper ctype.h OB XSI _toupper - transliterate lowercase characters to upperca a64l stdlib.h XSI a64l, l64a - convert between a 32-bit integer and a radix-64 ASCII string long a64l(const char *s); abort stdlib.h abort - generate an abnormal process abort void abort(void); abs stdlib.h abs - return an integer absolute value int abs(int i); -accept sys_socket.h accept - accept a new connection on a socket int accept(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); +accept sys/socket.h accept - accept a new connection on a socket int accept(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); access unistd.h access, faccessat - determine accessibility of a file relative to directory file descriptor int access(const char *path, int amode); acos math.h acos, acosf, acosl - arc cosine functions double acos(double x); acosf math.h acos, acosf, acosl - arc cosine functions float acosf(float x); @@ -52,7 +52,7 @@ atoi stdlib.h atoi - convert a string to an integer int atoi(const char *str); atol stdlib.h atol, atoll - convert a string to a long integer long atol(const char *str); atoll stdlib.h atol, atoll - convert a string to a long integer long long atoll(const char *nptr); basename libgen.h XSI basename - return the last component of a pathname char *basename(char *path); -bind sys_socket.h bind - bind a name to a socket int bind(int socket, const struct sockaddr *address, socklen_t address_len); +bind sys/socket.h bind - bind a name to a socket int bind(int socket, const struct sockaddr *address, socklen_t address_len); bsearch stdlib.h bsearch - binary search a sorted table void *bsearch(const void *key, const void *base, size_t nel, size_t width, int (*compar)(const void *, const void *)); btowc stdio.h wchar.h btowc - single byte to wide character conversion wint_t btowc(int c); cabs complex.h cabs, cabsf, cabsl - return a complex absolute value double cabs(double complex z); @@ -103,7 +103,7 @@ cfgetospeed termios.h cfgetospeed - get output baud rate speed_t cfgetospeed(co cfsetispeed termios.h cfsetispeed - set input baud rate int cfsetispeed(struct termios *termios_p, speed_t speed); cfsetospeed termios.h cfsetospeed - set output baud rate int cfsetospeed(struct termios *termios_p, speed_t speed); chdir unistd.h chdir - change working directory int chdir(const char *path); -chmod sys_stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor int chmod(const char *path, mode_t mode); +chmod sys/stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor int chmod(const char *path, mode_t mode); chown unistd.h chown, fchownat - change owner and group of a file relative to directory file descriptor int chown(const char *path, uid_t owner, gid_t group); cimag complex.h cimag, cimagf, cimagl - complex imaginary functions double cimag(double complex z); cimagf complex.h cimag, cimagf, cimagl - complex imaginary functions float cimagf(float complex z); @@ -125,7 +125,7 @@ confstr unistd.h confstr - get configurable variables size_t confstr(int name, conj complex.h conj, conjf, conjl - complex conjugate functions double complex conj(double complex z); conjf complex.h conj, conjf, conjl - complex conjugate functions float complex conjf(float complex z); conjl complex.h conj, conjf, conjl - complex conjugate functions long double complex conjl(long double complex z); -connect sys_socket.h connect - connect a socket int connect(int socket, const struct sockaddr *address, socklen_t address_len); +connect sys/socket.h connect - connect a socket int connect(int socket, const struct sockaddr *address, socklen_t address_len); copysign math.h copysign, copysignf, copysignl - number manipulation function double copysign(double x, double y); copysignf math.h copysign, copysignf, copysignl - number manipulation function float copysignf(float x, float y); copysignl math.h copysign, copysignf, copysignl - number manipulation function long double copysignl(long double x, long double y); @@ -225,8 +225,8 @@ fabsf math.h fabs, fabsf, fabsl - absolute value function float fabsf(float x); fabsl math.h fabs, fabsf, fabsl - absolute value function long double fabsl(long double x); faccessat unistd.h access, faccessat - determine accessibility of a file relative to directory file descriptor int faccessat(int fd, const char *path, int amode, int flag); fchdir unistd.h fchdir - change working directory int fchdir(int fildes); -fchmod sys_stat.h fchmod - change mode of a file int fchmod(int fildes, mode_t mode); -fchmodat sys_stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor int fchmodat(int fd, const char *path, mode_t mode, int flag); +fchmod sys/stat.h fchmod - change mode of a file int fchmod(int fildes, mode_t mode); +fchmodat sys/stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor int fchmodat(int fd, const char *path, mode_t mode, int flag); fchown unistd.h fchown - change owner and group of a file int fchown(int fildes, uid_t owner, gid_t group); fchownat unistd.h chown, fchownat - change owner and group of a file relative to directory file descriptor int fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); fclose stdio.h fclose - close a stream int fclose(FILE *stream); @@ -289,7 +289,7 @@ fputwc stdio.h wchar.h fputwc - put a wide-character code on a stream wint_t fp fputws stdio.h wchar.h fputws - put a wide-character string on a stream int fputws(const wchar_t *restrict ws, FILE *restrict stream); fread stdio.h fread - binary input size_t fread(void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream); free stdlib.h free - free allocated memory void free(void *ptr); -freeaddrinfo sys_socket.h netdb.h freeaddrinfo, getaddrinfo - get address information void freeaddrinfo(struct addrinfo *ai); +freeaddrinfo sys/socket.h netdb.h freeaddrinfo, getaddrinfo - get address information void freeaddrinfo(struct addrinfo *ai); freelocale locale.h CX freelocale - free resources allocated for a locale object void freelocale(locale_t locobj); freopen stdio.h freopen - open a stream FILE *freopen(const char *restrict filename, const char *restrict mode, FILE *restrict stream); frexp math.h frexp, frexpf, frexpl - extract mantissa and exponent from a double precision number double frexp(double num, int *exp); @@ -299,24 +299,24 @@ fscanf stdio.h fscanf, scanf, sscanf - convert formatted input int fscanf(FILE fseek stdio.h fseek, fseeko - reposition a file-position indicator in a stream int fseek(FILE *stream, long offset, int whence); fseeko stdio.h CX fseek, fseeko - reposition a file-position indicator in a stream int fseeko(FILE *stream, off_t offset, int whence); fsetpos stdio.h fsetpos - set current file position int fsetpos(FILE *stream, const fpos_t *pos); -fstat sys_stat.h fstat - get file status int fstat(int fildes, struct stat *buf); -fstatat sys_stat.h fstatat, lstat, stat - get file status int fstatat(int fd, const char *restrict path, struct stat *restrict buf, int flag); -fstatvfs sys_statvfs.h fstatvfs, statvfs - get file system information int fstatvfs(int fildes, struct statvfs *buf); +fstat sys/stat.h fstat - get file status int fstat(int fildes, struct stat *buf); +fstatat sys/stat.h fstatat, lstat, stat - get file status int fstatat(int fd, const char *restrict path, struct stat *restrict buf, int flag); +fstatvfs sys/statvfs.h fstatvfs, statvfs - get file system information int fstatvfs(int fildes, struct statvfs *buf); fsync unistd.h FSC fsync - synchronize changes to a file int fsync(int fildes); ftell stdio.h ftell, ftello - return a file offset in a stream long ftell(FILE *stream); ftello stdio.h CX ftell, ftello - return a file offset in a stream off_t ftello(FILE *stream); -ftok sys_ipc.h XSI ftok - generate an IPC key key_t ftok(const char *path, int id); +ftok sys/ipc.h XSI ftok - generate an IPC key key_t ftok(const char *path, int id); ftruncate unistd.h ftruncate - truncate a file to a specified length int ftruncate(int fildes, off_t length); ftrylockfile stdio.h CX flockfile, ftrylockfile, funlockfile - stdio locking functions int ftrylockfile(FILE *file); ftw ftw.h OB XSI ftw - traverse (walk) a file tree int ftw(const char *path, int (*fn)(const char *, const struct stat *ptr, int flag), int ndirs); funlockfile stdio.h CX flockfile, ftrylockfile, funlockfile - stdio locking functions void funlockfile(FILE *file); -futimens sys_stat.h sys_time.h futimens, utimensat, utimes - set file access and modification times int futimens(int fd, const struct timespec times[2]); +futimens sys/stat.h sys/time.h futimens, utimensat, utimes - set file access and modification times int futimens(int fd, const struct timespec times[2]); fwide stdio.h wchar.h fwide - set stream orientation int fwide(FILE *stream, int mode); fwprintf stdio.h wchar.h fwprintf, swprintf, wprintf - print formatted wide-character output int fwprintf(FILE *restrict stream, const wchar_t *restrict format, ...); fwrite stdio.h fwrite - binary output size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream); fwscanf stdio.h wchar.h fwscanf, swscanf, wscanf - convert formatted wide-character input int fwscanf(FILE *restrict stream, const wchar_t *restrict format, ...); gai_strerror netdb.h gai_strerror - address and name information error description const char *gai_strerror(int ecode); -getaddrinfo sys_socket.h netdb.h freeaddrinfo, getaddrinfo - get address information int getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res); +getaddrinfo sys/socket.h netdb.h freeaddrinfo, getaddrinfo - get address information int getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res); getc stdio.h getc - get a byte from a stream int getc(FILE *stream); getc_unlocked stdio.h CX getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked - stdio with explicit client locking int getc_unlocked(FILE *stream); getchar stdio.h getchar - get a byte from a .I stdin stream int getchar(void); @@ -338,21 +338,21 @@ getgroups unistd.h getgroups - get supplementary group IDs int getgroups(int gi gethostent netdb.h endhostent, gethostent, sethostent - network host database functions struct hostent *gethostent(void); gethostid unistd.h XSI gethostid - get an identifier for the current host long gethostid(void); gethostname unistd.h gethostname - get name of current host int gethostname(char *name, size_t namelen); -getitimer sys_time.h OB XSI getitimer, setitimer - get and set value of interval timer int getitimer(int which, struct itimerval *value); +getitimer sys/time.h OB XSI getitimer, setitimer - get and set value of interval timer int getitimer(int which, struct itimerval *value); getline stdio.h CX getdelim, getline - read a delimited record from .I stream ssize_t getline(char **restrict lineptr, size_t *restrict n, FILE *restrict stream); getlogin unistd.h getlogin, getlogin_r - get login name char *getlogin(void); getlogin_r unistd.h getlogin, getlogin_r - get login name int getlogin_r(char *name, size_t namesize); -getnameinfo sys_socket.h netdb.h getnameinfo - get name information int getnameinfo(const struct sockaddr *restrict sa, socklen_t salen, char *restrict node, socklen_t nodelen, char *restrict service, socklen_t servicelen, int flags); +getnameinfo sys/socket.h netdb.h getnameinfo - get name information int getnameinfo(const struct sockaddr *restrict sa, socklen_t salen, char *restrict node, socklen_t nodelen, char *restrict service, socklen_t servicelen, int flags); getnetbyaddr netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions struct netent *getnetbyaddr(uint32_t net, int type); getnetbyname netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions struct netent *getnetbyname(const char *name); getnetent netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions struct netent *getnetent(void); getopt unistd.h getopt, optarg, opterr, optind, optopt - command option parsing int getopt(int argc, char * const argv[], const char *optstring); -getpeername sys_socket.h getpeername - get the name of the peer socket int getpeername(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); +getpeername sys/socket.h getpeername - get the name of the peer socket int getpeername(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); getpgid unistd.h getpgid - get the process group ID for a process pid_t getpgid(pid_t pid); getpgrp unistd.h getpgrp - get the process group ID of the calling process pid_t getpgrp(void); getpid unistd.h getpid - get the process ID pid_t getpid(void); getppid unistd.h getppid - get the parent process ID pid_t getppid(void); -getpriority sys_resource.h XSI getpriority, setpriority - get and set the nice value int getpriority(int which, id_t who); +getpriority sys/resource.h XSI getpriority, setpriority - get and set the nice value int getpriority(int which, id_t who); getprotobyname netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions struct protoent *getprotobyname(const char *name); getprotobynumber netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions struct protoent *getprotobynumber(int proto); getprotoent netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions struct protoent *getprotoent(void); @@ -361,17 +361,17 @@ getpwnam pwd.h getpwnam, getpwnam_r - search user database for a name struct pa getpwnam_r pwd.h getpwnam, getpwnam_r - search user database for a name int getpwnam_r(const char *name, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result); getpwuid pwd.h getpwuid, getpwuid_r - search user database for a user ID struct passwd *getpwuid(uid_t uid); getpwuid_r pwd.h getpwuid, getpwuid_r - search user database for a user ID int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result); -getrlimit sys_resource.h XSI getrlimit, setrlimit - control maximum resource consumption int getrlimit(int resource, struct rlimit *rlp); -getrusage sys_resource.h XSI getrusage - get information about resource utilization int getrusage(int who, struct rusage *r_usage); +getrlimit sys/resource.h XSI getrlimit, setrlimit - control maximum resource consumption int getrlimit(int resource, struct rlimit *rlp); +getrusage sys/resource.h XSI getrusage - get information about resource utilization int getrusage(int who, struct rusage *r_usage); gets stdio.h OB gets - get a string from a .I stdin stream char *gets(char *s); getservbyname netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions struct servent *getservbyname(const char *name, const char *proto); getservbyport netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions struct servent *getservbyport(int port, const char *proto); getservent netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions struct servent *getservent(void); getsid unistd.h getsid - get the process group ID of a session leader pid_t getsid(pid_t pid); -getsockname sys_socket.h getsockname - get the socket name int getsockname(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); -getsockopt sys_socket.h getsockopt - get the socket options int getsockopt(int socket, int level, int option_name, void *restrict option_value, socklen_t *restrict option_len); +getsockname sys/socket.h getsockname - get the socket name int getsockname(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); +getsockopt sys/socket.h getsockopt - get the socket options int getsockopt(int socket, int level, int option_name, void *restrict option_value, socklen_t *restrict option_len); getsubopt stdlib.h getsubopt - parse suboption arguments from a string int getsubopt(char **optionp, char * const *keylistp, char **valuep); -gettimeofday sys_time.h OB XSI gettimeofday - get the date and time int gettimeofday(struct timeval *restrict tp, void *restrict tzp); +gettimeofday sys/time.h OB XSI gettimeofday - get the date and time int gettimeofday(struct timeval *restrict tp, void *restrict tzp); getuid unistd.h getuid - get a real user ID uid_t getuid(void); getutxent utmpx.h XSI endutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions struct utmpx *getutxent(void); getutxid utmpx.h XSI endutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions struct utmpx *getutxid(const struct utmpx *id); @@ -386,27 +386,27 @@ grantpt stdlib.h XSI grantpt - grant access to the slave pseudo-terminal device hcreate search.h XSI hcreate, hdestroy, hsearch - manage hash search table int hcreate(size_t nel); hdestroy search.h XSI hcreate, hdestroy, hsearch - manage hash search table void hdestroy(void); hsearch search.h XSI hcreate, hdestroy, hsearch - manage hash search table ENTRY *hsearch(ENTRY item, ACTION action); -htonl arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint32_t htonl(uint32_t hostlong); -htons arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint16_t htons(uint16_t hostshort); +htonl arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint32_t htonl(uint32_t hostlong); +htons arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint16_t htons(uint16_t hostshort); hypot math.h hypot, hypotf, hypotl - Euclidean distance function double hypot(double x, double y); hypotf math.h hypot, hypotf, hypotl - Euclidean distance function float hypotf(float x, float y); hypotl math.h hypot, hypotf, hypotl - Euclidean distance function long double hypotl(long double x, long double y); iconv iconv.h iconv - codeset conversion function size_t iconv(iconv_t cd, char **restrict inbuf, size_t *restrict inbytesleft, char **restrict outbuf, size_t *restrict outbytesleft); iconv_close iconv.h iconv_close - codeset conversion deallocation function int iconv_close(iconv_t cd); iconv_open iconv.h iconv_open - codeset conversion allocation function iconv_t iconv_open(const char *tocode, const char *fromcode); -if_freenameindex net_if.h if_freenameindex - free memory allocated by if_nameindex void if_freenameindex(struct if_nameindex *ptr); -if_indextoname net_if.h if_indextoname - map a network interface index to its corresponding name char *if_indextoname(unsigned ifindex, char *ifname); -if_nameindex net_if.h if_nameindex - return all network interface names and indexes struct if_nameindex *if_nameindex(void); -if_nametoindex net_if.h if_nametoindex - map a network interface name to its corresponding index unsigned if_nametoindex(const char *ifname); +if_freenameindex net/if.h if_freenameindex - free memory allocated by if_nameindex void if_freenameindex(struct if_nameindex *ptr); +if_indextoname net/if.h if_indextoname - map a network interface index to its corresponding name char *if_indextoname(unsigned ifindex, char *ifname); +if_nameindex net/if.h if_nameindex - return all network interface names and indexes struct if_nameindex *if_nameindex(void); +if_nametoindex net/if.h if_nametoindex - map a network interface name to its corresponding index unsigned if_nametoindex(const char *ifname); ilogb math.h ilogb, ilogbf, ilogbl - return an unbiased exponent int ilogb(double x); ilogbf math.h ilogb, ilogbf, ilogbl - return an unbiased exponent int ilogbf(float x); ilogbl math.h ilogb, ilogbf, ilogbl - return an unbiased exponent int ilogbl(long double x); imaxabs inttypes.h imaxabs - return absolute value intmax_t imaxabs(intmax_t j); imaxdiv inttypes.h imaxdiv - return quotient and remainder imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom); -inet_addr arpa_inet.h inet_addr, inet_ntoa - IPv4 address manipulation in_addr_t inet_addr(const char *cp); -inet_ntoa arpa_inet.h inet_addr, inet_ntoa - IPv4 address manipulation char *inet_ntoa(struct in_addr in); -inet_ntop arpa_inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form const char *inet_ntop(int af, const void *restrict src, char *restrict dst, socklen_t size); -inet_pton arpa_inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form int inet_pton(int af, const char *restrict src, void *restrict dst); +inet_addr arpa/inet.h inet_addr, inet_ntoa - IPv4 address manipulation in_addr_t inet_addr(const char *cp); +inet_ntoa arpa/inet.h inet_addr, inet_ntoa - IPv4 address manipulation char *inet_ntoa(struct in_addr in); +inet_ntop arpa/inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form const char *inet_ntop(int af, const void *restrict src, char *restrict dst, socklen_t size); +inet_pton arpa/inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form int inet_pton(int af, const char *restrict src, void *restrict dst); initstate stdlib.h XSI initstate, random, setstate, srandom - pseudo-random number functions char *initstate(unsigned seed, char *state, size_t size); insque search.h XSI insque, remque - insert or remove an element in a queue void insque(void *element, void *pred); isalnum ctype.h isalnum, isalnum_l - test for an alphanumeric character int isalnum(int c); @@ -492,7 +492,7 @@ lgammal math.h lgamma, lgammaf, lgammal, signgam - log gamma function long doub link unistd.h link, linkat - link one file to another file relative to two directory file descriptors int link(const char *path1, const char *path2); linkat unistd.h link, linkat - link one file to another file relative to two directory file descriptors int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); lio_listio aio.h lio_listio - list directed I/O int lio_listio(int mode, struct aiocb *restrict const list[restrict], int nent, struct sigevent *restrict sig); -listen sys_socket.h listen - listen for socket connections and limit the queue of incoming connections int listen(int socket, int backlog); +listen sys/socket.h listen - listen for socket connections and limit the queue of incoming connections int listen(int socket, int backlog); llabs stdlib.h labs, llabs - return a long integer absolute value long long llabs(long long i); lldiv stdlib.h ldiv, lldiv - compute quotient and remainder of a long division lldiv_t lldiv(long long numer, long long denom); llrint math.h llrint, llrintf, llrintl - round to the nearest integer value using current rounding direction long long llrint(double x); @@ -530,7 +530,7 @@ lroundf math.h lround, lroundf, lroundl - round to nearest integer value long l lroundl math.h lround, lroundf, lroundl - round to nearest integer value long lroundl(long double x); lsearch search.h XSI lsearch, lfind - linear search and update void *lsearch(const void *key, void *base, size_t *nelp, size_t width, int (*compar)(const void *, const void *)); lseek unistd.h lseek - move the read/write file offset off_t lseek(int fildes, off_t offset, int whence); -lstat sys_stat.h fstatat, lstat, stat - get file status int lstat(const char *restrict path, struct stat *restrict buf); +lstat sys/stat.h fstatat, lstat, stat - get file status int lstat(const char *restrict path, struct stat *restrict buf); malloc stdlib.h malloc - a memory allocator void *malloc(size_t size); mblen stdlib.h mblen - get number of bytes in a character int mblen(const char *s, size_t n); mbrlen wchar.h mbrlen - get number of bytes in a character (restartable) size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict ps); @@ -546,22 +546,22 @@ memcmp string.h memcmp - compare bytes in memory int memcmp(const void *s1, con memcpy string.h memcpy - copy bytes in memory void *memcpy(void *restrict s1, const void *restrict s2, size_t n); memmove string.h memmove - copy bytes in memory with overlapping areas void *memmove(void *s1, const void *s2, size_t n); memset string.h memset - set bytes in memory void *memset(void *s, int c, size_t n); -mkdir sys_stat.h mkdir, mkdirat - make a directory relative to directory file descriptor int mkdir(const char *path, mode_t mode); -mkdirat sys_stat.h mkdir, mkdirat - make a directory relative to directory file descriptor int mkdirat(int fd, const char *path, mode_t mode); +mkdir sys/stat.h mkdir, mkdirat - make a directory relative to directory file descriptor int mkdir(const char *path, mode_t mode); +mkdirat sys/stat.h mkdir, mkdirat - make a directory relative to directory file descriptor int mkdirat(int fd, const char *path, mode_t mode); mkdtemp stdlib.h CX mkdtemp, mkstemp - create a unique directory or file char *mkdtemp(char *template); -mkfifo sys_stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor int mkfifo(const char *path, mode_t mode); -mkfifoat sys_stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor int mkfifoat(int fd, const char *path, mode_t mode); -mknod sys_stat.h XSI mknod, mknodat - make directory, special file, or regular file int mknod(const char *path, mode_t mode, dev_t dev); -mknodat sys_stat.h XSI mknod, mknodat - make directory, special file, or regular file int mknodat(int fd, const char *path, mode_t mode, dev_t dev); +mkfifo sys/stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor int mkfifo(const char *path, mode_t mode); +mkfifoat sys/stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor int mkfifoat(int fd, const char *path, mode_t mode); +mknod sys/stat.h XSI mknod, mknodat - make directory, special file, or regular file int mknod(const char *path, mode_t mode, dev_t dev); +mknodat sys/stat.h XSI mknod, mknodat - make directory, special file, or regular file int mknodat(int fd, const char *path, mode_t mode, dev_t dev); mkstemp stdlib.h CX mkdtemp, mkstemp - create a unique directory or file int mkstemp(char *template); mktime time.h mktime - convert broken-down time into time since the Epoch time_t mktime(struct tm *timeptr); -mlock sys_mman.h MLR mlock, munlock - lock or unlock a range of process address space (REALTIME) int mlock(const void *addr, size_t len); -mlockall sys_mman.h ML mlockall, munlockall - lock/unlock the address space of a process (REALTIME) int mlockall(int flags); -mmap sys_mman.h mmap - map pages of memory void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off); +mlock sys/mman.h MLR mlock, munlock - lock or unlock a range of process address space (REALTIME) int mlock(const void *addr, size_t len); +mlockall sys/mman.h ML mlockall, munlockall - lock/unlock the address space of a process (REALTIME) int mlockall(int flags); +mmap sys/mman.h mmap - map pages of memory void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off); modf math.h modf, modff, modfl - decompose a floating-point number double modf(double x, double *iptr); modff math.h modf, modff, modfl - decompose a floating-point number float modff(float value, float *iptr); modfl math.h modf, modff, modfl - decompose a floating-point number long double modfl(long double value, long double *iptr); -mprotect sys_mman.h mprotect - set protection of memory mapping int mprotect(void *addr, size_t len, int prot); +mprotect sys/mman.h mprotect - set protection of memory mapping int mprotect(void *addr, size_t len, int prot); mq_close mqueue.h MSG mq_close - close a message queue (REALTIME) int mq_close(mqd_t mqdes); mq_getattr mqueue.h MSG mq_getattr - get message queue attributes (REALTIME) int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat); mq_notify mqueue.h MSG mq_notify - notify process that a message is available (REALTIME) int mq_notify(mqd_t mqdes, const struct sigevent *notification); @@ -573,14 +573,14 @@ mq_timedreceive mqueue.h mqueue.h time.h MSG mq_receive, mq_timedreceive - recei mq_timedsend mqueue.h mqueue.h time.h MSG mq_send, mq_timedsend - send a message to a message queue (REALTIME) int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abstime); mq_unlink mqueue.h MSG mq_unlink - remove a message queue (REALTIME) int mq_unlink(const char *name); mrand48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers long mrand48(void); -msgctl sys_msg.h XSI msgctl - XSI message control operations int msgctl(int msqid, int cmd, struct msqid_ds *buf); -msgget sys_msg.h XSI msgget - get the XSI message queue identifier int msgget(key_t key, int msgflg); -msgrcv sys_msg.h XSI msgrcv - XSI message receive operation ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); -msgsnd sys_msg.h XSI msgsnd - XSI message send operation int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); -msync sys_mman.h XSI msync - synchronize memory with physical storage int msync(void *addr, size_t len, int flags); -munlock sys_mman.h MLR mlock, munlock - lock or unlock a range of process address space (REALTIME) int munlock(const void *addr, size_t len); -munlockall sys_mman.h ML mlockall, munlockall - lock/unlock the address space of a process (REALTIME) int munlockall(void); -munmap sys_mman.h munmap - unmap pages of memory int munmap(void *addr, size_t len); +msgctl sys/msg.h XSI msgctl - XSI message control operations int msgctl(int msqid, int cmd, struct msqid_ds *buf); +msgget sys/msg.h XSI msgget - get the XSI message queue identifier int msgget(key_t key, int msgflg); +msgrcv sys/msg.h XSI msgrcv - XSI message receive operation ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); +msgsnd sys/msg.h XSI msgsnd - XSI message send operation int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); +msync sys/mman.h XSI msync - synchronize memory with physical storage int msync(void *addr, size_t len, int flags); +munlock sys/mman.h MLR mlock, munlock - lock or unlock a range of process address space (REALTIME) int munlock(const void *addr, size_t len); +munlockall sys/mman.h ML mlockall, munlockall - lock/unlock the address space of a process (REALTIME) int munlockall(void); +munmap sys/mman.h munmap - unmap pages of memory int munmap(void *addr, size_t len); nan math.h nan, nanf, nanl - return quiet NaN double nan(const char *tagp); nanf math.h nan, nanf, nanl - return quiet NaN float nanf(const char *tagp); nanl math.h nan, nanf, nanl - return quiet NaN long double nanl(const char *tagp); @@ -600,8 +600,8 @@ nice unistd.h XSI nice - change the nice value of a process int nice(int incr); nl_langinfo langinfo.h nl_langinfo, nl_langinfo_l - language information char *nl_langinfo(nl_item item); nl_langinfo_l langinfo.h nl_langinfo, nl_langinfo_l - language information char *nl_langinfo_l(nl_item item, locale_t locale); nrand48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers long nrand48(unsigned short xsubi[3]); -ntohl arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint32_t ntohl(uint32_t netlong); -ntohs arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint16_t ntohs(uint16_t netshort); +ntohl arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint32_t ntohl(uint32_t netlong); +ntohs arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order uint16_t ntohs(uint16_t netshort); open sys/stat.h fcntl.h OH open, openat - open file relative to directory file descriptor int open(const char *path, int oflag, ...); open_memstream stdio.h wchar.h CX open_memstream, open_wmemstream - open a dynamic memory buffer stream FILE *open_memstream(char **bufp, size_t *sizep); open_wmemstream stdio.h wchar.h CX open_memstream, open_wmemstream - open a dynamic memory buffer stream FILE *open_wmemstream(wchar_t **bufp, size_t *sizep); @@ -621,8 +621,8 @@ poll poll.h poll - input/output multiplexing int poll(struct pollfd fds[], nfds popen stdio.h CX popen - initiate pipe streams to or from a process FILE *popen(const char *command, const char *mode); posix_fadvise fcntl.h ADV posix_fadvise - file advisory information (ADVANCED REALTIME) int posix_fadvise(int fd, off_t offset, off_t len, int advice); posix_fallocate fcntl.h ADV posix_fallocate - file space control (ADVANCED REALTIME) int posix_fallocate(int fd, off_t offset, off_t len); -posix_madvise sys_mman.h ADV posix_madvise - memory advisory information and alignment control (ADVANCED REALTIME) int posix_madvise(void *addr, size_t len, int advice); -posix_mem_offset sys_mman.h TYM posix_mem_offset - find offset and length of a mapped typed memory block (ADVANCED REALTIME) int posix_mem_offset(const void *restrict addr, size_t len, off_t *restrict off, size_t *restrict contig_len, int *restrict fildes); +posix_madvise sys/mman.h ADV posix_madvise - memory advisory information and alignment control (ADVANCED REALTIME) int posix_madvise(void *addr, size_t len, int advice); +posix_mem_offset sys/mman.h TYM posix_mem_offset - find offset and length of a mapped typed memory block (ADVANCED REALTIME) int posix_mem_offset(const void *restrict addr, size_t len, off_t *restrict off, size_t *restrict contig_len, int *restrict fildes); posix_memalign stdlib.h ADV posix_memalign - aligned memory allocation (ADVANCED REALTIME) int posix_memalign(void **memptr, size_t alignment, size_t size); posix_openpt stdlib.h fcntl.h XSI posix_openpt - open a pseudo-terminal device int posix_openpt(int oflag); posix_spawn spawn.h SPN posix_spawn, posix_spawnp - spawn a process (ADVANCED REALTIME) int posix_spawn(pid_t *restrict pid, const char *restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *restrict attrp, char *const argv[restrict], char *const envp[restrict]); @@ -646,14 +646,14 @@ posix_spawnattr_setschedpolicy spawn.h sched.h SPN PS posix_spawnattr_getschedpo posix_spawnattr_setsigdefault signal.h spawn.h SPN posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault - get and set the spawn-sigdefault attribute of a spawn attributes object (ADVANCED REALTIME) int posix_spawnattr_setsigdefault(posix_spawnattr_t *restrict attr, const sigset_t *restrict sigdefault); posix_spawnattr_setsigmask signal.h spawn.h SPN posix_spawnattr_getsigmask, posix_spawnattr_setsigmask - get and set the spawn-sigmask attribute of a spawn attributes object (ADVANCED REALTIME) int posix_spawnattr_setsigmask(posix_spawnattr_t *restrict attr, const sigset_t *restrict sigmask); posix_spawnp spawn.h SPN posix_spawn, posix_spawnp - spawn a process (ADVANCED REALTIME) int posix_spawnp(pid_t *restrict pid, const char *restrict file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *restrict attrp, char *const argv[restrict], char *const envp[restrict]); -posix_typed_mem_get_info sys_mman.h TYM posix_typed_mem_get_info - query typed memory information (ADVANCED REALTIME) int posix_typed_mem_get_info(int fildes, struct posix_typed_mem_info *info); -posix_typed_mem_open sys_mman.h TYM posix_typed_mem_open - open a typed memory object (ADVANCED REALTIME) int posix_typed_mem_open(const char *name, int oflag, int tflag); +posix_typed_mem_get_info sys/mman.h TYM posix_typed_mem_get_info - query typed memory information (ADVANCED REALTIME) int posix_typed_mem_get_info(int fildes, struct posix_typed_mem_info *info); +posix_typed_mem_open sys/mman.h TYM posix_typed_mem_open - open a typed memory object (ADVANCED REALTIME) int posix_typed_mem_open(const char *name, int oflag, int tflag); pow math.h pow, powf, powl - power function double pow(double x, double y); powf math.h pow, powf, powl - power function float powf(float x, float y); powl math.h pow, powf, powl - power function long double powl(long double x, long double y); pread unistd.h pread, read - read from a file ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); printf stdio.h dprintf, fprintf, printf, snprintf, sprintf - print formatted output int printf(const char *restrict format, ...); -pselect sys_select.h pselect, select - synchronous I/O multiplexing int pselect(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, const struct timespec *restrict timeout, const sigset_t *restrict sigmask); +pselect sys/select.h pselect, select - synchronous I/O multiplexing int pselect(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, const struct timespec *restrict timeout, const sigset_t *restrict sigmask); psiginfo signal.h CX psiginfo, psignal - print signal information to standard error void psiginfo(const siginfo_t *pinfo, const char *message); psignal signal.h CX psiginfo, psignal - print signal information to standard error void psignal(int signum, const char *message); pthread_atfork pthread.h pthread_atfork - register fork handlers int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)); @@ -779,12 +779,12 @@ readdir dirent.h readdir, readdir_r - read a directory struct dirent *readdir(D readdir_r dirent.h readdir, readdir_r - read a directory int readdir_r(DIR *restrict dirp, struct dirent *restrict entry, struct dirent **restrict result); readlink unistd.h readlink, readlinkat - read the contents of a symbolic link relative to a directory file descriptor ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize); readlinkat unistd.h readlink, readlinkat - read the contents of a symbolic link relative to a directory file descriptor ssize_t readlinkat(int fd, const char *restrict path, char *restrict buf, size_t bufsize); -readv sys_uio.h XSI readv - read a vector ssize_t readv(int fildes, const struct iovec *iov, int iovcnt); +readv sys/uio.h XSI readv - read a vector ssize_t readv(int fildes, const struct iovec *iov, int iovcnt); realloc stdlib.h realloc - memory reallocator void *realloc(void *ptr, size_t size); realpath stdlib.h XSI realpath - resolve a pathname char *realpath(const char *restrict file_name, char *restrict resolved_name); -recv sys_socket.h recv - receive a message from a connected socket ssize_t recv(int socket, void *buffer, size_t length, int flags); -recvfrom sys_socket.h recvfrom - receive a message from a socket ssize_t recvfrom(int socket, void *restrict buffer, size_t length, int flags, struct sockaddr *restrict address, socklen_t *restrict address_len); -recvmsg sys_socket.h recvmsg - receive a message from a socket ssize_t recvmsg(int socket, struct msghdr *message, int flags); +recv sys/socket.h recv - receive a message from a connected socket ssize_t recv(int socket, void *buffer, size_t length, int flags); +recvfrom sys/socket.h recvfrom - receive a message from a socket ssize_t recvfrom(int socket, void *restrict buffer, size_t length, int flags, struct sockaddr *restrict address, socklen_t *restrict address_len); +recvmsg sys/socket.h recvmsg - receive a message from a socket ssize_t recvmsg(int socket, struct msghdr *message, int flags); regcomp regex.h regcomp, regerror, regexec, regfree - regular expression matching int regcomp(regex_t *restrict preg, const char *restrict pattern, int cflags); regerror regex.h regcomp, regerror, regexec, regfree - regular expression matching size_t regerror(int errcode, const regex_t *restrict preg, char *restrict errbuf, size_t errbuf_size); regexec regex.h regcomp, regerror, regexec, regfree - regular expression matching int regexec(const regex_t *restrict preg, const char *restrict string, size_t nmatch, regmatch_t pmatch[restrict], int eflags); @@ -826,7 +826,7 @@ sched_setscheduler sched.h PS sched_setscheduler - set scheduling policy and par sched_yield sched.h sched_yield - yield the processor int sched_yield(void); seed48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers unsigned short *seed48(unsigned short seed16v[3]); seekdir dirent.h XSI seekdir - set the position of a directory stream void seekdir(DIR *dirp, long loc); -select sys_select.h pselect, select - synchronous I/O multiplexing int select(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, struct timeval *restrict timeout); +select sys/select.h pselect, select - synchronous I/O multiplexing int select(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, struct timeval *restrict timeout); sem_close semaphore.h sem_close - close a named semaphore int sem_close(sem_t *sem); sem_destroy semaphore.h sem_destroy - destroy an unnamed semaphore int sem_destroy(sem_t *sem); sem_getvalue semaphore.h sem_getvalue - get the value of a semaphore int sem_getvalue(sem_t *restrict sem, int *restrict sval); @@ -838,11 +838,11 @@ sem_trywait semaphore.h sem_trywait, sem_wait - lock a semaphore int sem_trywai sem_unlink semaphore.h sem_unlink - remove a named semaphore int sem_unlink(const char *name); sem_wait semaphore.h sem_trywait, sem_wait - lock a semaphore int sem_wait(sem_t *sem); semctl sys/sem.h XSI semctl - XSI semaphore control operations int semctl(int semid, int semnum, int cmd, ...); -semget sys_sem.h XSI semget - get set of XSI semaphores int semget(key_t key, int nsems, int semflg); -semop sys_sem.h XSI semop - XSI semaphore operations int semop(int semid, struct sembuf *sops, size_t nsops); -send sys_socket.h send - send a message on a socket ssize_t send(int socket, const void *buffer, size_t length, int flags); -sendmsg sys_socket.h sendmsg - send a message on a socket using a message structure ssize_t sendmsg(int socket, const struct msghdr *message, int flags); -sendto sys_socket.h sendto - send a message on a socket ssize_t sendto(int socket, const void *message, size_t length, int flags, const struct sockaddr *dest_addr, socklen_t dest_len); +semget sys/sem.h XSI semget - get set of XSI semaphores int semget(key_t key, int nsems, int semflg); +semop sys/sem.h XSI semop - XSI semaphore operations int semop(int semid, struct sembuf *sops, size_t nsops); +send sys/socket.h send - send a message on a socket ssize_t send(int socket, const void *buffer, size_t length, int flags); +sendmsg sys/socket.h sendmsg - send a message on a socket using a message structure ssize_t sendmsg(int socket, const struct msghdr *message, int flags); +sendto sys/socket.h sendto - send a message on a socket ssize_t sendto(int socket, const void *message, size_t length, int flags, const struct sockaddr *dest_addr, socklen_t dest_len); setbuf stdio.h setbuf - assign buffering to a stream void setbuf(FILE *restrict stream, char *restrict buf); setegid unistd.h setegid - set the effective group ID int setegid(gid_t gid); setenv stdlib.h CX setenv - add or change environment variable int setenv(const char *envname, const char *envval, int overwrite); @@ -850,7 +850,7 @@ seteuid unistd.h seteuid - set effective user ID int seteuid(uid_t uid); setgid unistd.h setgid - set-group-ID int setgid(gid_t gid); setgrent grp.h XSI endgrent, getgrent, setgrent - group database entry functions void setgrent(void); sethostent netdb.h endhostent, gethostent, sethostent - network host database functions void sethostent(int stayopen); -setitimer sys_time.h OB XSI getitimer, setitimer - get and set value of interval timer int setitimer(int which, const struct itimerval *restrict value, struct itimerval *restrict ovalue); +setitimer sys/time.h OB XSI getitimer, setitimer - get and set value of interval timer int setitimer(int which, const struct itimerval *restrict value, struct itimerval *restrict ovalue); setjmp setjmp.h setjmp - set jump point for a non-local goto int setjmp(jmp_buf env); setkey stdlib.h XSI setkey - set encoding key (CRYPT) void setkey(const char *key); setlocale locale.h setlocale - set program locale char *setlocale(int category, const char *locale); @@ -858,26 +858,26 @@ setlogmask syslog.h XSI closelog, openlog, setlogmask, syslog - control system l setnetent netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions void setnetent(int stayopen); setpgid unistd.h setpgid - set process group ID for job control int setpgid(pid_t pid, pid_t pgid); setpgrp unistd.h OB XSI setpgrp - set the process group ID pid_t setpgrp(void); -setpriority sys_resource.h XSI getpriority, setpriority - get and set the nice value int setpriority(int which, id_t who, int value); +setpriority sys/resource.h XSI getpriority, setpriority - get and set the nice value int setpriority(int which, id_t who, int value); setprotoent netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions void setprotoent(int stayopen); setpwent pwd.h XSI endpwent, getpwent, setpwent - user database functions void setpwent(void); setregid unistd.h XSI setregid - set real and effective group IDs int setregid(gid_t rgid, gid_t egid); setreuid unistd.h XSI setreuid - set real and effective user IDs int setreuid(uid_t ruid, uid_t euid); -setrlimit sys_resource.h XSI getrlimit, setrlimit - control maximum resource consumption int setrlimit(int resource, const struct rlimit *rlp); +setrlimit sys/resource.h XSI getrlimit, setrlimit - control maximum resource consumption int setrlimit(int resource, const struct rlimit *rlp); setservent netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions void setservent(int stayopen); setsid unistd.h setsid - create session and set process group ID pid_t setsid(void); -setsockopt sys_socket.h setsockopt - set the socket options int setsockopt(int socket, int level, int option_name, const void *option_value, socklen_t option_len); +setsockopt sys/socket.h setsockopt - set the socket options int setsockopt(int socket, int level, int option_name, const void *option_value, socklen_t option_len); setstate stdlib.h XSI initstate, random, setstate, srandom - pseudo-random number functions char *setstate(char *state); setuid unistd.h setuid - set user ID int setuid(uid_t uid); setutxent utmpx.h XSI endutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions void setutxent(void); setvbuf stdio.h setvbuf - assign buffering to a stream int setvbuf(FILE *restrict stream, char *restrict buf, int type, size_t size); -shm_open sys_mman.h SHM shm_open - open a shared memory object (REALTIME) int shm_open(const char *name, int oflag, mode_t mode); -shm_unlink sys_mman.h SHM shm_unlink - remove a shared memory object (REALTIME) int shm_unlink(const char *name); -shmat sys_shm.h XSI shmat - XSI shared memory attach operation void *shmat(int shmid, const void *shmaddr, int shmflg); -shmctl sys_shm.h XSI shmctl - XSI shared memory control operations int shmctl(int shmid, int cmd, struct shmid_ds *buf); -shmdt sys_shm.h XSI shmdt - XSI shared memory detach operation int shmdt(const void *shmaddr); -shmget sys_shm.h XSI shmget - get an XSI shared memory segment int shmget(key_t key, size_t size, int shmflg); -shutdown sys_socket.h shutdown - shut down socket send and receive operations int shutdown(int socket, int how); +shm_open sys/mman.h SHM shm_open - open a shared memory object (REALTIME) int shm_open(const char *name, int oflag, mode_t mode); +shm_unlink sys/mman.h SHM shm_unlink - remove a shared memory object (REALTIME) int shm_unlink(const char *name); +shmat sys/shm.h XSI shmat - XSI shared memory attach operation void *shmat(int shmid, const void *shmaddr, int shmflg); +shmctl sys/shm.h XSI shmctl - XSI shared memory control operations int shmctl(int shmid, int cmd, struct shmid_ds *buf); +shmdt sys/shm.h XSI shmdt - XSI shared memory detach operation int shmdt(const void *shmaddr); +shmget sys/shm.h XSI shmget - get an XSI shared memory segment int shmget(key_t key, size_t size, int shmflg); +shutdown sys/socket.h shutdown - shut down socket send and receive operations int shutdown(int socket, int how); sigaction signal.h CX sigaction - examine and change a signal action int sigaction(int sig, const struct sigaction *restrict act, struct sigaction *restrict oact); sigaddset signal.h CX sigaddset - add a signal to a signal set int sigaddset(sigset_t *set, int signo); sigaltstack signal.h XSI sigaltstack - set and get signal alternate stack context int sigaltstack(const stack_t *restrict ss, stack_t *restrict oss); @@ -911,9 +911,9 @@ sinhl math.h sinh, sinhf, sinhl - hyperbolic sine functions long double sinhl(l sinl math.h sin, sinf, sinl - sine function long double sinl(long double x); sleep unistd.h sleep - suspend execution for an interval of time unsigned sleep(unsigned seconds); snprintf stdio.h dprintf, fprintf, printf, snprintf, sprintf - print formatted output int snprintf(char *restrict s, size_t n, const char *restrict format, ...); -sockatmark sys_socket.h sockatmark - determine whether a socket is at the out-of-band mark int sockatmark(int s); -socket sys_socket.h socket - create an endpoint for communication int socket(int domain, int type, int protocol); -socketpair sys_socket.h socketpair - create a pair of connected sockets int socketpair(int domain, int type, int protocol, int socket_vector[2]); +sockatmark sys/socket.h sockatmark - determine whether a socket is at the out-of-band mark int sockatmark(int s); +socket sys/socket.h socket - create an endpoint for communication int socket(int domain, int type, int protocol); +socketpair sys/socket.h socketpair - create a pair of connected sockets int socketpair(int domain, int type, int protocol, int socket_vector[2]); sprintf stdio.h dprintf, fprintf, printf, snprintf, sprintf - print formatted output int sprintf(char *restrict s, const char *restrict format, ...); sqrt math.h sqrt, sqrtf, sqrtl - square root function double sqrt(double x); sqrtf math.h sqrt, sqrtf, sqrtl - square root function float sqrtf(float x); @@ -922,8 +922,8 @@ srand stdlib.h rand, rand_r, srand - pseudo-random number generator void srand( srand48 stdlib.h XSI drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers void srand48(long seedval); srandom stdlib.h XSI initstate, random, setstate, srandom - pseudo-random number functions void srandom(unsigned seed); sscanf stdio.h fscanf, scanf, sscanf - convert formatted input int sscanf(const char *restrict s, const char *restrict format, ...); -stat sys_stat.h fstatat, lstat, stat - get file status int stat(const char *restrict path, struct stat *restrict buf); -statvfs sys_statvfs.h fstatvfs, statvfs - get file system information int statvfs(const char *restrict path, struct statvfs *restrict buf); +stat sys/stat.h fstatat, lstat, stat - get file status int stat(const char *restrict path, struct stat *restrict buf); +statvfs sys/statvfs.h fstatvfs, statvfs - get file system information int statvfs(const char *restrict path, struct statvfs *restrict buf); stderr stdio.h stderr, stdin, stdout - standard I/O streams stdin stdio.h stderr, stdin, stdout - standard I/O streams stdout stdio.h stderr, stdin, stdout - standard I/O streams @@ -1010,7 +1010,7 @@ timer_delete time.h CX timer_delete - delete a per-process timer int timer_delet timer_getoverrun time.h CX timer_getoverrun, timer_gettime, timer_settime - per-process timers int timer_getoverrun(timer_t timerid); timer_gettime time.h CX timer_getoverrun, timer_gettime, timer_settime - per-process timers int timer_gettime(timer_t timerid, struct itimerspec *value); timer_settime time.h CX timer_getoverrun, timer_gettime, timer_settime - per-process timers int timer_settime(timer_t timerid, int flags, const struct itimerspec *restrict value, struct itimerspec *restrict ovalue); -times sys_times.h times - get process and waited-for child process times clock_t times(struct tms *buffer); +times sys/times.h times - get process and waited-for child process times clock_t times(struct tms *buffer); timezone time.h XSI daylight, timezone, tzname, tzset - set timezone conversion information tmpfile stdio.h tmpfile - create a temporary file FILE *tmpfile(void); tmpnam stdio.h OB tmpnam - create a name for a temporary file char *tmpnam(char *s); @@ -1036,8 +1036,8 @@ twalk search.h XSI tdelete, tfind, tsearch, twalk - manage a binary search tree tzname time.h CX daylight, timezone, tzname, tzset - set timezone conversion information tzset time.h CX daylight, timezone, tzname, tzset - set timezone conversion information void tzset(void); ulimit ulimit.h OB XSI ulimit - get and set process limits long ulimit(int cmd, ...); -umask sys_stat.h umask - set and get the file mode creation mask mode_t umask(mode_t cmask); -uname sys_utsname.h uname - get the name of the current system int uname(struct utsname *name); +umask sys/stat.h umask - set and get the file mode creation mask mode_t umask(mode_t cmask); +uname sys/utsname.h uname - get the name of the current system int uname(struct utsname *name); ungetc stdio.h ungetc - push byte back into input stream int ungetc(int c, FILE *stream); ungetwc stdio.h wchar.h ungetwc - push wide-character code back into the input stream wint_t ungetwc(wint_t wc, FILE *stream); unlink unistd.h unlink, unlinkat - remove a directory entry relative to directory file descriptor int unlink(const char *path); @@ -1046,8 +1046,8 @@ unlockpt stdlib.h XSI unlockpt - unlock a pseudo-terminal master/slave pair int unsetenv stdlib.h CX unsetenv - remove an environment variable int unsetenv(const char *name); uselocale locale.h CX uselocale - use locale in current thread locale_t uselocale(locale_t newloc); utime utime.h OB utime - set file access and modification times int utime(const char *path, const struct utimbuf *times); -utimensat sys_stat.h sys_time.h futimens, utimensat, utimes - set file access and modification times int utimensat(int fd, const char *path, const struct timespec times[2], int flag); -utimes sys_stat.h sys_time.h XSI futimens, utimensat, utimes - set file access and modification times int utimes(const char *path, const struct timeval times[2]); +utimensat sys/stat.h sys/time.h futimens, utimensat, utimes - set file access and modification times int utimensat(int fd, const char *path, const struct timespec times[2], int flag); +utimes sys/stat.h sys/time.h XSI futimens, utimensat, utimes - set file access and modification times int utimes(const char *path, const struct timeval times[2]); va_arg stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list type va_arg(va_list ap, type); va_copy stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list void va_copy(va_list dest, va_list src); va_end stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list void va_end(va_list ap); @@ -1066,9 +1066,9 @@ vswprintf stdarg.h stdio.h wchar.h vfwprintf, vswprintf, vwprintf - wide-charac vswscanf stdarg.h stdio.h wchar.h vfwscanf, vswscanf, vwscanf - wide-character formatted input of a stdarg argument list int vswscanf(const wchar_t *restrict ws, const wchar_t *restrict format, va_list arg); vwprintf stdarg.h stdio.h wchar.h vfwprintf, vswprintf, vwprintf - wide-character formatted output of a stdarg argument list int vwprintf(const wchar_t *restrict format, va_list arg); vwscanf stdarg.h stdio.h wchar.h vfwscanf, vswscanf, vwscanf - wide-character formatted input of a stdarg argument list int vwscanf(const wchar_t *restrict format, va_list arg); -wait sys_wait.h wait, waitpid - wait for a child process to stop or terminate pid_t wait(int *stat_loc); -waitid sys_wait.h waitid - wait for a child process to change state int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); -waitpid sys_wait.h wait, waitpid - wait for a child process to stop or terminate pid_t waitpid(pid_t pid, int *stat_loc, int options); +wait sys/wait.h wait, waitpid - wait for a child process to stop or terminate pid_t wait(int *stat_loc); +waitid sys/wait.h waitid - wait for a child process to change state int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); +waitpid sys/wait.h wait, waitpid - wait for a child process to stop or terminate pid_t waitpid(pid_t pid, int *stat_loc, int options); wcpcpy wchar.h CX wcpcpy, wcscpy - copy a wide-character string, returning a pointer to its end wchar_t *wcpcpy(wchar_t *restrict ws1, const wchar_t *restrict ws2); wcpncpy wchar.h CX wcpncpy, wcsncpy - copy a fixed-size wide-character string, returning a pointer to its end wchar_t *wcpncpy(wchar_t restrict *ws1, const wchar_t *restrict ws2, size_t n); wcrtomb stdio.h wcrtomb - convert a wide-character code to a character (restartable) size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict ps); @@ -1126,7 +1126,7 @@ wordexp wordexp.h wordexp, wordfree - perform word expansions int wordexp(const wordfree wordexp.h wordexp, wordfree - perform word expansions void wordfree(wordexp_t *pwordexp); wprintf stdio.h wchar.h fwprintf, swprintf, wprintf - print formatted wide-character output int wprintf(const wchar_t *restrict format, ...); write unistd.h pwrite, write - write on a file ssize_t write(int fildes, const void *buf, size_t nbyte); -writev sys_uio.h XSI writev - write a vector ssize_t writev(int fildes, const struct iovec *iov, int iovcnt); +writev sys/uio.h XSI writev - write a vector ssize_t writev(int fildes, const struct iovec *iov, int iovcnt); wscanf stdio.h wchar.h fwscanf, swscanf, wscanf - convert formatted wide-character input int wscanf(const wchar_t *restrict format, ...); y0 math.h XSI y0, y1, yn - Bessel functions of the second kind double y0(double x); y1 math.h XSI y0, y1, yn - Bessel functions of the second kind double y1(double x); diff --git a/makeall.sh b/makeall.sh index 441a3e9..b803b6c 100755 --- a/makeall.sh +++ b/makeall.sh @@ -41,9 +41,6 @@ $2 == "obj" || $2 == "obj posix" { $2 ~ /inc posix/ && $4 != $8 { # different header - # todo.. - gsub(/_/, "/", $8) - n = split($8, a, " ") for (i = 1; i <= n; i++) if ($4 == a[i]) diff --git a/tab_posix.html b/tab_posix.html index 331e4c9..712a81d 100644 --- a/tab_posix.html +++ b/tab_posix.html @@ -1,11 +1,11 @@

musl vs posix api

-

commit

commit 13cd969552409e05c941829f2aabb15e2f4d9a1f
Date: Tue Sep 13 21:09:35 2011 -0400

fix various errors in function signatures/prototypes found by nsz +

commit

commit 4da289e1b3a0d09048d9be1dfc3a7280531a1e48
Date: Tue Sep 13 21:21:53 2011 -0400

fix return types for aio_read and aio_write again

previous fix was backwards and propagated the wrong type rather than
the right one...

legend

(STREAMS and posix_trace* apis are excluded)

table

muslposix
statussymdeclnameheaderoptiondesc -
  d FD_CLR sys_select.h pselect, select - synchronous I/O multiplexing -
  d FD_ISSET sys_select.h pselect, select - synchronous I/O multiplexing -
  d FD_SET sys_select.h pselect, select - synchronous I/O multiplexing -
  d FD_ZERO sys_select.h pselect, select - synchronous I/O multiplexing +
  d FD_CLR sys/select.h pselect, select - synchronous I/O multiplexing +
  d FD_ISSET sys/select.h pselect, select - synchronous I/O multiplexing +
  d FD_SET sys/select.h pselect, select - synchronous I/O multiplexing +
  d FD_ZERO sys/select.h pselect, select - synchronous I/O multiplexing
 Tp _Exit stdlib.h unistd.h _Exit, _exit - terminate a process
 Tp _exit stdlib.h unistd.h _Exit, _exit - terminate a process
 Tp _longjmp setjmp.h OB XSI_longjmp, _setjmp - non-local goto @@ -15,7 +15,7 @@
nosym p a64l stdlib.h XSIa64l, l64a - convert between a 32-bit integer and a radix-64 ASCII string
 Tp abort stdlib.h abort - generate an abnormal process abort
 Tp abs stdlib.h abs - return an integer absolute value -
 Tp accept sys_socket.h accept - accept a new connection on a socket +
 Tp accept sys/socket.h accept - accept a new connection on a socket
 Tp access unistd.h access, faccessat - determine accessibility of a file relative to directory file descriptor
 Tp acos math.h acos, acosf, acosl - arc cosine functions
 Tp acosf math.h acos, acosf, acosl - arc cosine functions @@ -56,7 +56,7 @@
 Tp atol stdlib.h atol, atoll - convert a string to a long integer
 Tp atoll stdlib.h atol, atoll - convert a string to a long integer
 Tp basename libgen.h XSIbasename - return the last component of a pathname -
 Tp bind sys_socket.h bind - bind a name to a socket +
 Tp bind sys/socket.h bind - bind a name to a socket
 Tp bsearch stdlib.h bsearch - binary search a sorted table
 Tp btowc stdio.h wchar.h btowc - single byte to wide character conversion
missing  cabs complex.h cabs, cabsf, cabsl - return a complex absolute value @@ -107,7 +107,7 @@
 Tp cfsetispeed termios.h cfsetispeed - set input baud rate
 Tp cfsetospeed termios.h cfsetospeed - set output baud rate
 Tp chdir unistd.h chdir - change working directory -
 Tp chmod sys_stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor +
 Tp chmod sys/stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor
 Tp chown unistd.h chown, fchownat - change owner and group of a file relative to directory file descriptor
missing  cimag complex.h cimag, cimagf, cimagl - complex imaginary functions
missing  cimagf complex.h cimag, cimagf, cimagl - complex imaginary functions @@ -129,7 +129,7 @@
missing  conj complex.h conj, conjf, conjl - complex conjugate functions
missing  conjf complex.h conj, conjf, conjl - complex conjugate functions
missing  conjl complex.h conj, conjf, conjl - complex conjugate functions -
 Tp connect sys_socket.h connect - connect a socket +
 Tp connect sys/socket.h connect - connect a socket
 Tp copysign math.h copysign, copysignf, copysignl - number manipulation function
 Tp copysignf math.h copysign, copysignf, copysignl - number manipulation function
nosym p copysignl math.h copysign, copysignf, copysignl - number manipulation function @@ -148,7 +148,7 @@
missing  creal complex.h creal, crealf, creall - complex real functions
missing  crealf complex.h creal, crealf, creall - complex real functions
missing  creall complex.h creal, crealf, creall - complex real functions -
 Tp creat sys/stat.h fcntl.h OHcreat - create a new file or rewrite an existing one +
 Tp creat sys/stat.h fcntl.h OHcreat - create a new file or rewrite an existing one
 Tp crypt unistd.h XSIcrypt - string encoding function (CRYPT)
missing  csin complex.h csin, csinf, csinl - complex sine functions
missing  csinf complex.h csin, csinf, csinl - complex sine functions @@ -229,8 +229,8 @@
nosym p fabsl math.h fabs, fabsf, fabsl - absolute value function
 Tp faccessat unistd.h access, faccessat - determine accessibility of a file relative to directory file descriptor
 Tp fchdir unistd.h fchdir - change working directory -
 Tp fchmod sys_stat.h fchmod - change mode of a file -
 Tp fchmodat sys_stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor +
 Tp fchmod sys/stat.h fchmod - change mode of a file +
 Tp fchmodat sys/stat.h chmod, fchmodat - change mode of a file relative to directory file descriptor
 Tp fchown unistd.h fchown - change owner and group of a file
 Tp fchownat unistd.h chown, fchownat - change owner and group of a file relative to directory file descriptor
 Tp fclose stdio.h fclose - close a stream @@ -293,7 +293,7 @@
 Tp fputws stdio.h wchar.h fputws - put a wide-character string on a stream
 Tp fread stdio.h fread - binary input
 Tp free stdlib.h free - free allocated memory -
 Tp freeaddrinfo sys_socket.h netdb.h freeaddrinfo, getaddrinfo - get address information +
 Tp freeaddrinfo sys/socket.h netdb.h freeaddrinfo, getaddrinfo - get address information
 Tp freelocale locale.h CXfreelocale - free resources allocated for a locale object
 Tp freopen stdio.h freopen - open a stream
 Tp frexp math.h frexp, frexpf, frexpl - extract mantissa and exponent from a double precision number @@ -303,24 +303,24 @@
 Tp fseek stdio.h fseek, fseeko - reposition a file-position indicator in a stream
 Wp fseeko stdio.h CXfseek, fseeko - reposition a file-position indicator in a stream
 Tp fsetpos stdio.h fsetpos - set current file position -
 Tp fstat sys_stat.h fstat - get file status -
 Tp fstatat sys_stat.h fstatat, lstat, stat - get file status -
 Tp fstatvfs sys_statvfs.h fstatvfs, statvfs - get file system information +
 Tp fstat sys/stat.h fstat - get file status +
 Tp fstatat sys/stat.h fstatat, lstat, stat - get file status +
 Tp fstatvfs sys/statvfs.h fstatvfs, statvfs - get file system information
 Tp fsync unistd.h FSCfsync - synchronize changes to a file
 Tp ftell stdio.h ftell, ftello - return a file offset in a stream
 Wp ftello stdio.h CXftell, ftello - return a file offset in a stream -
 Tp ftok sys_ipc.h XSIftok - generate an IPC key +
 Tp ftok sys/ipc.h XSIftok - generate an IPC key
 Tp ftruncate unistd.h ftruncate - truncate a file to a specified length
 Tp ftrylockfile stdio.h CXflockfile, ftrylockfile, funlockfile - stdio locking functions
 Tp ftw ftw.h OB XSIftw - traverse (walk) a file tree
 Tp funlockfile stdio.h CXflockfile, ftrylockfile, funlockfile - stdio locking functions -
 Tp futimens sys_stat.h sys_time.h futimens, utimensat, utimes - set file access and modification times +
 Tp futimens sys/stat.h sys/time.h futimens, utimensat, utimes - set file access and modification times
 Tp fwide stdio.h wchar.h fwide - set stream orientation
 Tp fwprintf stdio.h wchar.h fwprintf, swprintf, wprintf - print formatted wide-character output
 Tp fwrite stdio.h fwrite - binary output
 Tp fwscanf stdio.h wchar.h fwscanf, swscanf, wscanf - convert formatted wide-character input
 Tp gai_strerror netdb.h gai_strerror - address and name information error description -
 Tp getaddrinfo sys_socket.h netdb.h freeaddrinfo, getaddrinfo - get address information +
 Tp getaddrinfo sys/socket.h netdb.h freeaddrinfo, getaddrinfo - get address information
 Wp getc stdio.h getc - get a byte from a stream
 Tp getc_unlocked stdio.h CXgetc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked - stdio with explicit client locking
 Tp getchar stdio.h getchar - get a byte from a .I stdin stream @@ -342,21 +342,21 @@
 Tp gethostent netdb.h endhostent, gethostent, sethostent - network host database functions
 Tp gethostid unistd.h XSIgethostid - get an identifier for the current host
 Tp gethostname unistd.h gethostname - get name of current host -
 Tp getitimer sys_time.h OB XSIgetitimer, setitimer - get and set value of interval timer +
 Tp getitimer sys/time.h OB XSIgetitimer, setitimer - get and set value of interval timer
 Tp getline stdio.h CXgetdelim, getline - read a delimited record from .I stream
 Tp getlogin unistd.h getlogin, getlogin_r - get login name
 Tp getlogin_r unistd.h getlogin, getlogin_r - get login name -
 Tp getnameinfo sys_socket.h netdb.h getnameinfo - get name information +
 Tp getnameinfo sys/socket.h netdb.h getnameinfo - get name information
 Tp getnetbyaddr netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions
 Tp getnetbyname netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions
 Wp getnetent netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions
 Tp p getopt unistd.h getopt, optarg, opterr, optind, optopt - command option parsing -
 Tp getpeername sys_socket.h getpeername - get the name of the peer socket +
 Tp getpeername sys/socket.h getpeername - get the name of the peer socket
 Tp getpgid unistd.h getpgid - get the process group ID for a process
 Tp getpgrp unistd.h getpgrp - get the process group ID of the calling process
 Tp getpid unistd.h getpid - get the process ID
 Tp getppid unistd.h getppid - get the parent process ID -
 Tp getpriority sys_resource.h XSIgetpriority, setpriority - get and set the nice value +
 Tp getpriority sys/resource.h XSIgetpriority, setpriority - get and set the nice value
 Tp getprotobyname netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions
 Tp getprotobynumber netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions
 TWp getprotoent netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions @@ -365,17 +365,17 @@
 Tp getpwnam_r pwd.h getpwnam, getpwnam_r - search user database for a name
 Tp getpwuid pwd.h getpwuid, getpwuid_r - search user database for a user ID
 Tp getpwuid_r pwd.h getpwuid, getpwuid_r - search user database for a user ID -
 Tp getrlimit sys_resource.h XSIgetrlimit, setrlimit - control maximum resource consumption -
 Tp getrusage sys_resource.h XSIgetrusage - get information about resource utilization +
 Tp getrlimit sys/resource.h XSIgetrlimit, setrlimit - control maximum resource consumption +
 Tp getrusage sys/resource.h XSIgetrusage - get information about resource utilization
 Tp gets stdio.h OBgets - get a string from a .I stdin stream
 Tp getservbyname netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions
 Tp getservbyport netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions
 TWp getservent netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions
 Tp getsid unistd.h getsid - get the process group ID of a session leader -
 Tp getsockname sys_socket.h getsockname - get the socket name -
 Tp getsockopt sys_socket.h getsockopt - get the socket options +
 Tp getsockname sys/socket.h getsockname - get the socket name +
 Tp getsockopt sys/socket.h getsockopt - get the socket options
 Tp getsubopt stdlib.h getsubopt - parse suboption arguments from a string -
 Tp gettimeofday sys_time.h OB XSIgettimeofday - get the date and time +
 Tp gettimeofday sys/time.h OB XSIgettimeofday - get the date and time
 Tp getuid unistd.h getuid - get a real user ID
 Tp getutxent utmpx.h XSIendutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions
 Tp getutxid utmpx.h XSIendutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions @@ -390,27 +390,27 @@
 Tp hcreate search.h XSIhcreate, hdestroy, hsearch - manage hash search table
 Tp hdestroy search.h XSIhcreate, hdestroy, hsearch - manage hash search table
 Tp hsearch search.h XSIhcreate, hdestroy, hsearch - manage hash search table -
 Tp p htonl arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order -
 Tp p htons arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order +
 Tp p htonl arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order +
 Tp p htons arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order
 Tp hypot math.h hypot, hypotf, hypotl - Euclidean distance function
 Tp hypotf math.h hypot, hypotf, hypotl - Euclidean distance function
nosym p hypotl math.h hypot, hypotf, hypotl - Euclidean distance function
 Tp iconv iconv.h iconv - codeset conversion function
 Tp iconv_close iconv.h iconv_close - codeset conversion deallocation function
 Tp iconv_open iconv.h iconv_open - codeset conversion allocation function -
 Tp if_freenameindex net_if.h if_freenameindex - free memory allocated by if_nameindex -
 Tp if_indextoname net_if.h if_indextoname - map a network interface index to its corresponding name -
 Tp if_nameindex net_if.h if_nameindex - return all network interface names and indexes -
 Tp if_nametoindex net_if.h if_nametoindex - map a network interface name to its corresponding index +
 Tp if_freenameindex net/if.h if_freenameindex - free memory allocated by if_nameindex +
 Tp if_indextoname net/if.h if_indextoname - map a network interface index to its corresponding name +
 Tp if_nameindex net/if.h if_nameindex - return all network interface names and indexes +
 Tp if_nametoindex net/if.h if_nametoindex - map a network interface name to its corresponding index
 Tp ilogb math.h ilogb, ilogbf, ilogbl - return an unbiased exponent
 Tp ilogbf math.h ilogb, ilogbf, ilogbl - return an unbiased exponent
nosym p ilogbl math.h ilogb, ilogbf, ilogbl - return an unbiased exponent
 Tp imaxabs inttypes.h imaxabs - return absolute value
 Tp imaxdiv inttypes.h imaxdiv - return quotient and remainder -
 Tp inet_addr arpa_inet.h inet_addr, inet_ntoa - IPv4 address manipulation -
 Tp inet_ntoa arpa_inet.h inet_addr, inet_ntoa - IPv4 address manipulation -
 Tp inet_ntop arpa_inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form -
 Tp inet_pton arpa_inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form +
 Tp inet_addr arpa/inet.h inet_addr, inet_ntoa - IPv4 address manipulation +
 Tp inet_ntoa arpa/inet.h inet_addr, inet_ntoa - IPv4 address manipulation +
 Tp inet_ntop arpa/inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form +
 Tp inet_pton arpa/inet.h inet_ntop, inet_pton - convert IPv4 and IPv6 addresses between binary and text form
 Tp initstate stdlib.h XSIinitstate, random, setstate, srandom - pseudo-random number functions
 Tp insque search.h XSIinsque, remque - insert or remove an element in a queue
 Tp isalnum ctype.h isalnum, isalnum_l - test for an alphanumeric character @@ -496,7 +496,7 @@
 Tp link unistd.h link, linkat - link one file to another file relative to two directory file descriptors
 Tp linkat unistd.h link, linkat - link one file to another file relative to two directory file descriptors
 Tp lio_listio aio.h lio_listio - list directed I/O -
 Tp listen sys_socket.h listen - listen for socket connections and limit the queue of incoming connections +
 Tp listen sys/socket.h listen - listen for socket connections and limit the queue of incoming connections
 Tp llabs stdlib.h labs, llabs - return a long integer absolute value
 Tp lldiv stdlib.h ldiv, lldiv - compute quotient and remainder of a long division
 Tp llrint math.h llrint, llrintf, llrintl - round to the nearest integer value using current rounding direction @@ -534,7 +534,7 @@
nosym p lroundl math.h lround, lroundf, lroundl - round to nearest integer value
 Tp lsearch search.h XSIlsearch, lfind - linear search and update
 Tp lseek unistd.h lseek - move the read/write file offset -
 Tp lstat sys_stat.h fstatat, lstat, stat - get file status +
 Tp lstat sys/stat.h fstatat, lstat, stat - get file status
 TWp malloc stdlib.h malloc - a memory allocator
 Tp mblen stdlib.h mblen - get number of bytes in a character
 Tp mbrlen wchar.h mbrlen - get number of bytes in a character (restartable) @@ -550,22 +550,22 @@
 Tp memcpy string.h memcpy - copy bytes in memory
 Tp memmove string.h memmove - copy bytes in memory with overlapping areas
 Tp memset string.h memset - set bytes in memory -
 Tp mkdir sys_stat.h mkdir, mkdirat - make a directory relative to directory file descriptor -
 Tp mkdirat sys_stat.h mkdir, mkdirat - make a directory relative to directory file descriptor +
 Tp mkdir sys/stat.h mkdir, mkdirat - make a directory relative to directory file descriptor +
 Tp mkdirat sys/stat.h mkdir, mkdirat - make a directory relative to directory file descriptor
 Tp mkdtemp stdlib.h CXmkdtemp, mkstemp - create a unique directory or file -
 Tp mkfifo sys_stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor -
 Tp mkfifoat sys_stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor -
 Tp mknod sys_stat.h XSImknod, mknodat - make directory, special file, or regular file -
 Tp mknodat sys_stat.h XSImknod, mknodat - make directory, special file, or regular file +
 Tp mkfifo sys/stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor +
 Tp mkfifoat sys/stat.h mkfifo, mkfifoat - make a FIFO special file relative to directory file descriptor +
 Tp mknod sys/stat.h XSImknod, mknodat - make directory, special file, or regular file +
 Tp mknodat sys/stat.h XSImknod, mknodat - make directory, special file, or regular file
 Tp mkstemp stdlib.h CXmkdtemp, mkstemp - create a unique directory or file
 Tp mktime time.h mktime - convert broken-down time into time since the Epoch -
 Tp mlock sys_mman.h MLRmlock, munlock - lock or unlock a range of process address space (REALTIME) -
 Tp mlockall sys_mman.h MLmlockall, munlockall - lock/unlock the address space of a process (REALTIME) -
 Wp mmap sys_mman.h mmap - map pages of memory +
 Tp mlock sys/mman.h MLRmlock, munlock - lock or unlock a range of process address space (REALTIME) +
 Tp mlockall sys/mman.h MLmlockall, munlockall - lock/unlock the address space of a process (REALTIME) +
 Wp mmap sys/mman.h mmap - map pages of memory
 Tp modf math.h modf, modff, modfl - decompose a floating-point number
 Tp modff math.h modf, modff, modfl - decompose a floating-point number
nosym p modfl math.h modf, modff, modfl - decompose a floating-point number -
 Tp mprotect sys_mman.h mprotect - set protection of memory mapping +
 Tp mprotect sys/mman.h mprotect - set protection of memory mapping
 Tp mq_close mqueue.h MSGmq_close - close a message queue (REALTIME)
 Tp mq_getattr mqueue.h MSGmq_getattr - get message queue attributes (REALTIME)
 Tp mq_notify mqueue.h MSGmq_notify - notify process that a message is available (REALTIME) @@ -577,14 +577,14 @@
 Tp mq_timedsend mqueue.h mqueue.h time.h MSGmq_send, mq_timedsend - send a message to a message queue (REALTIME)
 Tp mq_unlink mqueue.h MSGmq_unlink - remove a message queue (REALTIME)
 Tp mrand48 stdlib.h XSIdrand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers -
 Tp msgctl sys_msg.h XSImsgctl - XSI message control operations -
 Tp msgget sys_msg.h XSImsgget - get the XSI message queue identifier -
 Tp msgrcv sys_msg.h XSImsgrcv - XSI message receive operation -
 Tp msgsnd sys_msg.h XSImsgsnd - XSI message send operation -
 Tp msync sys_mman.h XSImsync - synchronize memory with physical storage -
 Tp munlock sys_mman.h MLRmlock, munlock - lock or unlock a range of process address space (REALTIME) -
 Tp munlockall sys_mman.h MLmlockall, munlockall - lock/unlock the address space of a process (REALTIME) -
 Wp munmap sys_mman.h munmap - unmap pages of memory +
 Tp msgctl sys/msg.h XSImsgctl - XSI message control operations +
 Tp msgget sys/msg.h XSImsgget - get the XSI message queue identifier +
 Tp msgrcv sys/msg.h XSImsgrcv - XSI message receive operation +
 Tp msgsnd sys/msg.h XSImsgsnd - XSI message send operation +
 Tp msync sys/mman.h XSImsync - synchronize memory with physical storage +
 Tp munlock sys/mman.h MLRmlock, munlock - lock or unlock a range of process address space (REALTIME) +
 Tp munlockall sys/mman.h MLmlockall, munlockall - lock/unlock the address space of a process (REALTIME) +
 Wp munmap sys/mman.h munmap - unmap pages of memory
nosym p nan math.h nan, nanf, nanl - return quiet NaN
nosym p nanf math.h nan, nanf, nanl - return quiet NaN
nosym p nanl math.h nan, nanf, nanl - return quiet NaN @@ -604,12 +604,12 @@
 Wp nl_langinfo langinfo.h nl_langinfo, nl_langinfo_l - language information
nosym p nl_langinfo_l langinfo.h nl_langinfo, nl_langinfo_l - language information
 Tp nrand48 stdlib.h XSIdrand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers -
 Tp p ntohl arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order -
 Tp p ntohs arpa_inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order -
 Tp open sys/stat.h fcntl.h OHopen, openat - open file relative to directory file descriptor +
 Tp p ntohl arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order +
 Tp p ntohs arpa/inet.h htonl, htons, ntohl, ntohs - convert values between host and network byte order +
 Tp open sys/stat.h fcntl.h OHopen, openat - open file relative to directory file descriptor
 Tp open_memstream stdio.h wchar.h CXopen_memstream, open_wmemstream - open a dynamic memory buffer stream
 Tp open_wmemstream stdio.h wchar.h CXopen_memstream, open_wmemstream - open a dynamic memory buffer stream -
 Tp openat sys/stat.h fcntl.h OHopen, openat - open file relative to directory file descriptor +
 Tp openat sys/stat.h fcntl.h OHopen, openat - open file relative to directory file descriptor
 Tp opendir dirent.h fdopendir, opendir - open directory associated with file descriptor
 Tp openlog syslog.h XSIcloselog, openlog, setlogmask, syslog - control system log
 Cx x optarg unistd.h getopt, optarg, opterr, optind, optopt - command option parsing @@ -625,8 +625,8 @@
 Tp popen stdio.h CXpopen - initiate pipe streams to or from a process
 Tp posix_fadvise fcntl.h ADVposix_fadvise - file advisory information (ADVANCED REALTIME)
 Tp posix_fallocate fcntl.h ADVposix_fallocate - file space control (ADVANCED REALTIME) -
 Tp posix_madvise sys_mman.h ADVposix_madvise - memory advisory information and alignment control (ADVANCED REALTIME) -
missing  posix_mem_offset sys_mman.h TYMposix_mem_offset - find offset and length of a mapped typed memory block (ADVANCED REALTIME) +
 Tp posix_madvise sys/mman.h ADVposix_madvise - memory advisory information and alignment control (ADVANCED REALTIME) +
missing  posix_mem_offset sys/mman.h TYMposix_mem_offset - find offset and length of a mapped typed memory block (ADVANCED REALTIME)
 Tp posix_memalign stdlib.h ADVposix_memalign - aligned memory allocation (ADVANCED REALTIME)
 Tp posix_openpt stdlib.h fcntl.h XSIposix_openpt - open a pseudo-terminal device
 Tp posix_spawn spawn.h SPNposix_spawn, posix_spawnp - spawn a process (ADVANCED REALTIME) @@ -650,14 +650,14 @@
 Tp posix_spawnattr_setsigdefault signal.h spawn.h SPNposix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault - get and set the spawn-sigdefault attribute of a spawn attributes object (ADVANCED REALTIME)
 Tp posix_spawnattr_setsigmask signal.h spawn.h SPNposix_spawnattr_getsigmask, posix_spawnattr_setsigmask - get and set the spawn-sigmask attribute of a spawn attributes object (ADVANCED REALTIME)
 Tp posix_spawnp spawn.h SPNposix_spawn, posix_spawnp - spawn a process (ADVANCED REALTIME) -
missing  posix_typed_mem_get_info sys_mman.h TYMposix_typed_mem_get_info - query typed memory information (ADVANCED REALTIME) -
missing  posix_typed_mem_open sys_mman.h TYMposix_typed_mem_open - open a typed memory object (ADVANCED REALTIME) +
missing  posix_typed_mem_get_info sys/mman.h TYMposix_typed_mem_get_info - query typed memory information (ADVANCED REALTIME) +
missing  posix_typed_mem_open sys/mman.h TYMposix_typed_mem_open - open a typed memory object (ADVANCED REALTIME)
 Tp pow math.h pow, powf, powl - power function
 Tp powf math.h pow, powf, powl - power function
nosym p powl math.h pow, powf, powl - power function
 Tp pread unistd.h pread, read - read from a file
 Tp printf stdio.h dprintf, fprintf, printf, snprintf, sprintf - print formatted output -
 Tp pselect sys_select.h pselect, select - synchronous I/O multiplexing +
 Tp pselect sys/select.h pselect, select - synchronous I/O multiplexing
 Tp psiginfo signal.h CXpsiginfo, psignal - print signal information to standard error
 Tp psignal signal.h CXpsiginfo, psignal - print signal information to standard error
 Tp pthread_atfork pthread.h pthread_atfork - register fork handlers @@ -783,12 +783,12 @@
 Tp readdir_r dirent.h readdir, readdir_r - read a directory
 Tp readlink unistd.h readlink, readlinkat - read the contents of a symbolic link relative to a directory file descriptor
 Tp readlinkat unistd.h readlink, readlinkat - read the contents of a symbolic link relative to a directory file descriptor -
 Tp readv sys_uio.h XSIreadv - read a vector +
 Tp readv sys/uio.h XSIreadv - read a vector
 Tp realloc stdlib.h realloc - memory reallocator
 Tp realpath stdlib.h XSIrealpath - resolve a pathname -
 Tp recv sys_socket.h recv - receive a message from a connected socket -
 Tp recvfrom sys_socket.h recvfrom - receive a message from a socket -
 Tp recvmsg sys_socket.h recvmsg - receive a message from a socket +
 Tp recv sys/socket.h recv - receive a message from a connected socket +
 Tp recvfrom sys/socket.h recvfrom - receive a message from a socket +
 Tp recvmsg sys/socket.h recvmsg - receive a message from a socket
 Tp regcomp regex.h regcomp, regerror, regexec, regfree - regular expression matching
 Tp regerror regex.h regcomp, regerror, regexec, regfree - regular expression matching
 Tp regexec regex.h regcomp, regerror, regexec, regfree - regular expression matching @@ -830,7 +830,7 @@
 Wp sched_yield sched.h sched_yield - yield the processor
 Tp seed48 stdlib.h XSIdrand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers
 Tp seekdir dirent.h XSIseekdir - set the position of a directory stream -
 Tp select sys_select.h pselect, select - synchronous I/O multiplexing +
 Tp select sys/select.h pselect, select - synchronous I/O multiplexing
 Tp sem_close semaphore.h sem_close - close a named semaphore
 Tp sem_destroy semaphore.h sem_destroy - destroy an unnamed semaphore
 Tp sem_getvalue semaphore.h sem_getvalue - get the value of a semaphore @@ -841,12 +841,12 @@
 Tp sem_trywait semaphore.h sem_trywait, sem_wait - lock a semaphore
 Tp sem_unlink semaphore.h sem_unlink - remove a named semaphore
 Tp sem_wait semaphore.h sem_trywait, sem_wait - lock a semaphore -
 Tp semctl sys/sem.h XSIsemctl - XSI semaphore control operations -
 Tp semget sys_sem.h XSIsemget - get set of XSI semaphores -
 Tp semop sys_sem.h XSIsemop - XSI semaphore operations -
 Tp send sys_socket.h send - send a message on a socket -
 Tp sendmsg sys_socket.h sendmsg - send a message on a socket using a message structure -
 Tp sendto sys_socket.h sendto - send a message on a socket +
 Tp semctl sys/sem.h XSIsemctl - XSI semaphore control operations +
 Tp semget sys/sem.h XSIsemget - get set of XSI semaphores +
 Tp semop sys/sem.h XSIsemop - XSI semaphore operations +
 Tp send sys/socket.h send - send a message on a socket +
 Tp sendmsg sys/socket.h sendmsg - send a message on a socket using a message structure +
 Tp sendto sys/socket.h sendto - send a message on a socket
 Tp setbuf stdio.h setbuf - assign buffering to a stream
 Tp setegid unistd.h setegid - set the effective group ID
 Tp setenv stdlib.h CXsetenv - add or change environment variable @@ -854,7 +854,7 @@
 Tp setgid unistd.h setgid - set-group-ID
 Tp setgrent grp.h XSIendgrent, getgrent, setgrent - group database entry functions
 Tp sethostent netdb.h endhostent, gethostent, sethostent - network host database functions -
 Tp setitimer sys_time.h OB XSIgetitimer, setitimer - get and set value of interval timer +
 Tp setitimer sys/time.h OB XSIgetitimer, setitimer - get and set value of interval timer
 Td p setjmp setjmp.h setjmp - set jump point for a non-local goto
nosym p setkey stdlib.h XSIsetkey - set encoding key (CRYPT)
 Tp setlocale locale.h setlocale - set program locale @@ -862,26 +862,26 @@
 Wp setnetent netdb.h endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent - network database functions
 Tp setpgid unistd.h setpgid - set process group ID for job control
 Tp setpgrp unistd.h OB XSIsetpgrp - set the process group ID -
 Tp setpriority sys_resource.h XSIgetpriority, setpriority - get and set the nice value +
 Tp setpriority sys/resource.h XSIgetpriority, setpriority - get and set the nice value
 TWp setprotoent netdb.h endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent - network protocol database functions
 Tp setpwent pwd.h XSIendpwent, getpwent, setpwent - user database functions
 Tp setregid unistd.h XSIsetregid - set real and effective group IDs
 Tp setreuid unistd.h XSIsetreuid - set real and effective user IDs -
 Tp setrlimit sys_resource.h XSIgetrlimit, setrlimit - control maximum resource consumption +
 Tp setrlimit sys/resource.h XSIgetrlimit, setrlimit - control maximum resource consumption
 TWp setservent netdb.h endservent, getservbyname, getservbyport, getservent, setservent - network services database functions
 Tp setsid unistd.h setsid - create session and set process group ID -
 Tp setsockopt sys_socket.h setsockopt - set the socket options +
 Tp setsockopt sys/socket.h setsockopt - set the socket options
 Tp setstate stdlib.h XSIinitstate, random, setstate, srandom - pseudo-random number functions
 Tp setuid unistd.h setuid - set user ID
 Tp setutxent utmpx.h XSIendutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions
 Tp setvbuf stdio.h setvbuf - assign buffering to a stream -
 Tp shm_open sys_mman.h SHMshm_open - open a shared memory object (REALTIME) -
 Tp shm_unlink sys_mman.h SHMshm_unlink - remove a shared memory object (REALTIME) -
 Tp shmat sys_shm.h XSIshmat - XSI shared memory attach operation -
 Tp shmctl sys_shm.h XSIshmctl - XSI shared memory control operations -
 Tp shmdt sys_shm.h XSIshmdt - XSI shared memory detach operation -
 Tp shmget sys_shm.h XSIshmget - get an XSI shared memory segment -
 Tp shutdown sys_socket.h shutdown - shut down socket send and receive operations +
 Tp shm_open sys/mman.h SHMshm_open - open a shared memory object (REALTIME) +
 Tp shm_unlink sys/mman.h SHMshm_unlink - remove a shared memory object (REALTIME) +
 Tp shmat sys/shm.h XSIshmat - XSI shared memory attach operation +
 Tp shmctl sys/shm.h XSIshmctl - XSI shared memory control operations +
 Tp shmdt sys/shm.h XSIshmdt - XSI shared memory detach operation +
 Tp shmget sys/shm.h XSIshmget - get an XSI shared memory segment +
 Tp shutdown sys/socket.h shutdown - shut down socket send and receive operations
 Wp sigaction signal.h CXsigaction - examine and change a signal action
 Tp sigaddset signal.h CXsigaddset - add a signal to a signal set
 Tp sigaltstack signal.h XSIsigaltstack - set and get signal alternate stack context @@ -915,9 +915,9 @@
nosym p sinl math.h sin, sinf, sinl - sine function
 Tp sleep unistd.h sleep - suspend execution for an interval of time
 Tp snprintf stdio.h dprintf, fprintf, printf, snprintf, sprintf - print formatted output -
 Tp sockatmark sys_socket.h sockatmark - determine whether a socket is at the out-of-band mark -
 Tp socket sys_socket.h socket - create an endpoint for communication -
 Tp socketpair sys_socket.h socketpair - create a pair of connected sockets +
 Tp sockatmark sys/socket.h sockatmark - determine whether a socket is at the out-of-band mark +
 Tp socket sys/socket.h socket - create an endpoint for communication +
 Tp socketpair sys/socket.h socketpair - create a pair of connected sockets
 Tp sprintf stdio.h dprintf, fprintf, printf, snprintf, sprintf - print formatted output
 Tp sqrt math.h sqrt, sqrtf, sqrtl - square root function
 Tp sqrtf math.h sqrt, sqrtf, sqrtl - square root function @@ -926,8 +926,8 @@
 Tp srand48 stdlib.h XSIdrand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers
 Tp srandom stdlib.h XSIinitstate, random, setstate, srandom - pseudo-random number functions
 Tp sscanf stdio.h fscanf, scanf, sscanf - convert formatted input -
 Tp stat sys_stat.h fstatat, lstat, stat - get file status -
 Tp statvfs sys_statvfs.h fstatvfs, statvfs - get file system information +
 Tp stat sys/stat.h fstatat, lstat, stat - get file status +
 Tp statvfs sys/statvfs.h fstatvfs, statvfs - get file system information
 Rd x stderr stdio.h stderr, stdin, stdout - standard I/O streams
 Rd x stdin stdio.h stderr, stdin, stdout - standard I/O streams
 Rd x stdout stdio.h stderr, stdin, stdout - standard I/O streams @@ -1014,7 +1014,7 @@
 Tp timer_getoverrun time.h CXtimer_getoverrun, timer_gettime, timer_settime - per-process timers
 Tp timer_gettime time.h CXtimer_getoverrun, timer_gettime, timer_settime - per-process timers
 Tp timer_settime time.h CXtimer_getoverrun, timer_gettime, timer_settime - per-process timers -
 Tp times sys_times.h times - get process and waited-for child process times +
 Tp times sys/times.h times - get process and waited-for child process times
 Vx timezone time.h XSIdaylight, timezone, tzname, tzset - set timezone conversion information
 Tp tmpfile stdio.h tmpfile - create a temporary file
 Tp tmpnam stdio.h OBtmpnam - create a name for a temporary file @@ -1040,8 +1040,8 @@
 Vx tzname time.h CXdaylight, timezone, tzname, tzset - set timezone conversion information
 Tp tzset time.h CXdaylight, timezone, tzname, tzset - set timezone conversion information
 Tp ulimit ulimit.h OB XSIulimit - get and set process limits -
 Tp umask sys_stat.h umask - set and get the file mode creation mask -
 Tp uname sys_utsname.h uname - get the name of the current system +
 Tp umask sys/stat.h umask - set and get the file mode creation mask +
 Tp uname sys/utsname.h uname - get the name of the current system
 Tp ungetc stdio.h ungetc - push byte back into input stream
 Tp ungetwc stdio.h wchar.h ungetwc - push wide-character code back into the input stream
 Tp unlink unistd.h unlink, unlinkat - remove a directory entry relative to directory file descriptor @@ -1050,8 +1050,8 @@
 Tp unsetenv stdlib.h CXunsetenv - remove an environment variable
 Tp uselocale locale.h CXuselocale - use locale in current thread
 Tp utime utime.h OButime - set file access and modification times -
 Tp utimensat sys_stat.h sys_time.h futimens, utimensat, utimes - set file access and modification times -
 Tp utimes sys_stat.h sys_time.h XSIfutimens, utimensat, utimes - set file access and modification times +
 Tp utimensat sys/stat.h sys/time.h futimens, utimensat, utimes - set file access and modification times +
 Tp utimes sys/stat.h sys/time.h XSIfutimens, utimensat, utimes - set file access and modification times
  d d va_arg stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list
  d d va_copy stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list
  d d va_end stdarg.h va_arg, va_copy, va_end, va_start - handle variable argument list @@ -1070,9 +1070,9 @@
 Tp vswscanf stdarg.h stdio.h wchar.h vfwscanf, vswscanf, vwscanf - wide-character formatted input of a stdarg argument list
 Tp vwprintf stdarg.h stdio.h wchar.h vfwprintf, vswprintf, vwprintf - wide-character formatted output of a stdarg argument list
 Tp vwscanf stdarg.h stdio.h wchar.h vfwscanf, vswscanf, vwscanf - wide-character formatted input of a stdarg argument list -
 Tp wait sys_wait.h wait, waitpid - wait for a child process to stop or terminate -
 Tp waitid sys_wait.h waitid - wait for a child process to change state -
 Tp waitpid sys_wait.h wait, waitpid - wait for a child process to stop or terminate +
 Tp wait sys/wait.h wait, waitpid - wait for a child process to stop or terminate +
 Tp waitid sys/wait.h waitid - wait for a child process to change state +
 Tp waitpid sys/wait.h wait, waitpid - wait for a child process to stop or terminate
missing  wcpcpy wchar.h CXwcpcpy, wcscpy - copy a wide-character string, returning a pointer to its end
missing  wcpncpy wchar.h CXwcpncpy, wcsncpy - copy a fixed-size wide-character string, returning a pointer to its end
 Tp wcrtomb stdio.h wcrtomb - convert a wide-character code to a character (restartable) @@ -1130,7 +1130,7 @@
 Tp wordfree wordexp.h wordexp, wordfree - perform word expansions
 Tp wprintf stdio.h wchar.h fwprintf, swprintf, wprintf - print formatted wide-character output
 Tp write unistd.h pwrite, write - write on a file -
 Tp writev sys_uio.h XSIwritev - write a vector +
 Tp writev sys/uio.h XSIwritev - write a vector
 Tp wscanf stdio.h wchar.h fwscanf, swscanf, wscanf - convert formatted wide-character input
nosym p y0 math.h XSIy0, y1, yn - Bessel functions of the second kind
nosym p y1 math.h XSIy0, y1, yn - Bessel functions of the second kind diff --git a/tab_posix.sh b/tab_posix.sh index 420d121..30f97be 100755 --- a/tab_posix.sh +++ b/tab_posix.sh @@ -80,8 +80,11 @@ BEGIN { s = s "" $1 "" n = split($2, x, " ") s = s "" - for (i = 1; i <= n; i++) - s = s " " x[i] "" + for (i = 1; i <= n; i++) { + h = x[i] + gsub(/\//, "_", h) + s = s " " x[i] "" + } n = split($3, x, " ") s = s "" for (i = 1; i <= n; i++) -- 2.20.1