fix posix headers (sys/, arpa/,..)
[musl-tables] / data / posix2008.ok
index 0ffbb7c..0c618ec 100644 (file)
@@ -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);
@@ -81,7 +81,7 @@ catanhf       complex.h               catanh, catanhf, catanhl - complex arc hyperbolic tangent fun
 catanhl        complex.h               catanh, catanhf, catanhl - complex arc hyperbolic tangent functions     long double complex catanhl(long double complex z);
 catanl complex.h               catan, catanf, catanl - complex arc tangent functions   long double complex catanl(long double complex z);
 catclose       nl_types.h              catclose - close a message catalog descriptor   int catclose(nl_catd catd);
-catgets        nl_types.h              catgets - read a program message        char *catgets(nl_catd catd, int set_id, int msg_id, const char*s);
+catgets        nl_types.h              catgets - read a program message        char *catgets(nl_catd catd, int set_id, int msg_id, const char *s);
 catopen        nl_types.h              catopen - open a message catalog        nl_catd catopen(const char *name, int oflag);
 cbrt   math.h          cbrt, cbrtf, cbrtl - cube root functions        double cbrt(double x);
 cbrtf  math.h          cbrt, cbrtf, cbrtl - cube root functions        float cbrtf(float x);
@@ -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);
@@ -173,7 +173,7 @@ dbm_fetch   ndbm.h  XSI     dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch,
 dbm_firstkey   ndbm.h  XSI     dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store - database functions  datum dbm_firstkey(DBM *db);
 dbm_nextkey    ndbm.h  XSI     dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store - database functions  datum dbm_nextkey(DBM *db);
 dbm_open       ndbm.h  XSI     dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store - database functions  DBM *dbm_open(const char *file, int open_flags, mode_t file_mode);
-dbm_store      ndbm.h  XSI     dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store - database functions  int dbm_store(DBM *db, datum key, datum content, intstore_mode);
+dbm_store      ndbm.h  XSI     dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store - database functions  int dbm_store(DBM *db, datum key, datum content, int store_mode);
 difftime       time.h          difftime - compute the difference between two calendar time values      double difftime(time_t time1, time_t time0);
 dirfd  dirent.h                dirfd - extract the file descriptor used by a DIR stream        int dirfd(DIR *dirp);
 dirname        libgen.h        XSI     dirname - report the parent directory name of a file pathname   char *dirname(char *path);
@@ -225,10 +225,10 @@ 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_tgroup, int flag);
+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);
 fcntl  fcntl.h         fcntl - file control    int fcntl(int fildes, int cmd, ...);
 fdatasync      unistd.h        SIO     fdatasync - synchronize the data of a file (<b>REALTIME</b>)    int fdatasync(int fildes);
@@ -276,7 +276,7 @@ fminl       math.h          fmin, fminf, fminl - determine minimum numeric value of two floati
 fmod   math.h          fmod, fmodf, fmodl - floating-point remainder value function    double fmod(double x, double y);
 fmodf  math.h          fmod, fmodf, fmodl - floating-point remainder value function    float fmodf(float x, float y);
 fmodl  math.h          fmod, fmodf, fmodl - floating-point remainder value function    long double fmodl(long double x, long double y);
-fmtmsg fmtmsg.h        XSI     fmtmsg - display a message in the specified format on standard error and/or a system console    int fmtmsg(long classification, const char *label, int severity, const char *text, const char *action, const char*tag);
+fmtmsg fmtmsg.h        XSI     fmtmsg - display a message in the specified format on standard error and/or a system console    int fmtmsg(long classification, const char *label, int severity, const char *text, const char *action, const char *tag);
 fnmatch        fnmatch.h               fnmatch - match a filename or a pathname        int fnmatch(const char *pattern, const char *string, int flags);
 fopen  stdio.h         fopen - open a stream   FILE *fopen(const char *restrict filename, const char *restrict mode);
 fork   unistd.h                fork - create a new process     pid_t fork(void);
@@ -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), intndirs);
+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 *restrictservice, 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,24 +361,24 @@ 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 *restrictoption_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);
 getutxline     utmpx.h XSI     endutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions  struct utmpx *getutxline(const struct utmpx *line);
 getwc  stdio.h wchar.h         getwc - get a wide character from a stream      wint_t getwc(FILE *stream);
 getwchar       wchar.h         getwchar - get a wide character from a .I stdin stream  wint_t getwchar(void);
-glob   glob.h          glob, globfree - generate pathnames matching a pattern  int glob(const char *restrict pattern, int flags, int(*errfunc)(const char *epath, inteerrno), glob_t *restrict pglob);
+glob   glob.h          glob, globfree - generate pathnames matching a pattern  int glob(const char *restrict pattern, int flags, int(*errfunc)(const char *epath, int eerrno), glob_t *restrict pglob);
 globfree       glob.h          glob, globfree - generate pathnames matching a pattern  void globfree(glob_t *pglob);
 gmtime time.h          gmtime, gmtime_r - convert a time value to a broken-down UTC time       struct tm *gmtime(const time_t *timer);
 gmtime_r       time.h  CX      gmtime, gmtime_r - convert a time value to a broken-down UTC time       struct tm *gmtime_r(const time_t *restrict timer, struct tm *restrict result);
@@ -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   
-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);
@@ -490,9 +490,9 @@ lgamma      math.h          lgamma, lgammaf, lgammal, signgam - log gamma function  double lga
 lgammaf        math.h          lgamma, lgammaf, lgammal, signgam - log gamma function  float lgammaf(float x);
 lgammal        math.h          lgamma, lgammaf, lgammal, signgam - log gamma function  long double lgammal(long double x);
 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);
+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);
@@ -528,15 +528,15 @@ lrintl    math.h          lrint, lrintf, lrintl - round to nearest integer value using curr
 lround math.h          lround, lroundf, lroundl - round to nearest integer value       long lround(double x);
 lroundf        math.h          lround, lroundf, lroundl - round to nearest integer value       long lroundf(float x);
 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_twidth, int (*compar)(const void *, const void *));
+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);
 mbrtowc        wchar.h         mbrtowc - convert a character to a wide-character code (restartable)    size_t mbrtowc(wchar_t *restrict pwc, const char *restrict s, size_t n, mbstate_t *restrict ps);
 mbsinit        wchar.h         mbsinit - determine conversion object status    int mbsinit(const mbstate_t *ps);
-mbsnrtowcs     wchar.h CX      mbsnrtowcs, mbsrtowcs - convert a character string to a wide-character string (restartable)     size_t mbsnrtowcs(wchar_t *restrict dst, const char **restrictsrc, size_t nmc, size_t len, mbstate_t *restrictps);
+mbsnrtowcs     wchar.h CX      mbsnrtowcs, mbsrtowcs - convert a character string to a wide-character string (restartable)     size_t mbsnrtowcs(wchar_t *restrict dst, const char **restrict src, size_t nmc, size_t len, mbstate_t *restrict ps);
 mbsrtowcs      wchar.h         mbsnrtowcs, mbsrtowcs - convert a character string to a wide-character string (restartable)     size_t mbsrtowcs(wchar_t *restrict dst, const char **restrict src, size_t len, mbstate_t *restrict ps);
 mbstowcs       stdlib.h                mbstowcs - convert a character string to a wide-character string        size_t mbstowcs(wchar_t *restrict pwcs, const char *restrict s, size_t n);
 mbtowc stdlib.h                mbtowc - convert a character to a wide-character code   int mbtowc(wchar_t *restrict pwc, const char *restrict s, size_t n);
@@ -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 (<b>REALTIME</b>)      int mlock(const void *addr, size_t len);
-mlockall       sys_mman.h      ML      mlockall, munlockall - lock/unlock the address space of a process (<b>REALTIME</b>)     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 (<b>REALTIME</b>)      int mlock(const void *addr, size_t len);
+mlockall       sys/mman.h      ML      mlockall, munlockall - lock/unlock the address space of a process (<b>REALTIME</b>)     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 (<b>REALTIME</b>)      int mq_close(mqd_t mqdes);
 mq_getattr     mqueue.h        MSG     mq_getattr - get message queue attributes (<b>REALTIME</b>)     int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat);
 mq_notify      mqueue.h        MSG     mq_notify - notify process that a message is available (<b>REALTIME</b>)        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 (<b>REALTIME</b>)     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 (<b>REALTIME</b>)    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, longmsgtyp, 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 (<b>REALTIME</b>)      int munlock(const void *addr, size_t len);
-munlockall     sys_mman.h      ML      mlockall, munlockall - lock/unlock the address space of a process (<b>REALTIME</b>)     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 (<b>REALTIME</b>)      int munlock(const void *addr, size_t len);
+munlockall     sys/mman.h      ML      mlockall, munlockall - lock/unlock the address space of a process (<b>REALTIME</b>)     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);
@@ -595,24 +595,24 @@ nextafterl        math.h          nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, n
 nexttoward     math.h          nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl - next representable floating-point number      double nexttoward(double x, long double y);
 nexttowardf    math.h          nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl - next representable floating-point number      float nexttowardf(float x, long double y);
 nexttowardl    math.h          nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl - next representable floating-point number      long double nexttowardl(long double x, long double y);
-nftw   ftw.h   XSI     nftw - walk a file tree int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, intflags);
+nftw   ftw.h   XSI     nftw - walk a file tree int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags);
 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);
 openat sys/stat.h fcntl.h      OH      open, openat - open file relative to directory file descriptor  int openat(int fd, const char *path, int oflag, ...);
-opendir        dirent.h                fdopendir, opendir - open directory associated with file descriptor     DIR *fdopendir(int fd);
+opendir        dirent.h                fdopendir, opendir - open directory associated with file descriptor     DIR *opendir(const char *dirname);
 openlog        syslog.h        XSI     closelog, openlog, setlogmask, syslog - control system log      void openlog(const char *ident, int logopt, int facility);
 optarg unistd.h                getopt, optarg, opterr, optind, optopt - command option parsing 
 opterr unistd.h                getopt, optarg, opterr, optind, optopt - command option parsing 
 optind unistd.h                getopt, optarg, opterr, optind, optopt - command option parsing 
 optopt unistd.h                getopt, optarg, opterr, optind, optopt - command option parsing 
-pathconf       unistd.h                fpathconf, pathconf - get configurable pathname variables       long fpathconf(int fildes, int name);
+pathconf       unistd.h                fpathconf, pathconf - get configurable pathname variables       long pathconf(const char *path, int name);
 pause  unistd.h                pause - suspend the thread until a signal is received   int pause(void);
 pclose stdio.h CX      pclose - close a pipe stream to or from a process       int pclose(FILE *stream);
 perror stdio.h         perror - write error messages to standard error void perror(const char *s);
@@ -621,14 +621,14 @@ 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 (<b>ADVANCED REALTIME</b>)    int posix_fadvise(int fd, off_t offset, off_t len, int advice);
 posix_fallocate        fcntl.h ADV     posix_fallocate - file space control (<b>ADVANCED REALTIME</b>) 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 (<b>ADVANCED REALTIME</b>)    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 (<b>ADVANCED REALTIME</b>)     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 (<b>ADVANCED REALTIME</b>)    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 (<b>ADVANCED REALTIME</b>)     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 (<b>ADVANCED REALTIME</b>)   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 (<b>ADVANCED REALTIME</b>)  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]);
 posix_spawn_file_actions_addclose      spawn.h SPN     posix_spawn_file_actions_addclose, posix_spawn_file_actions_addopen - add close or open action to spawn file actions object (<b>ADVANCED REALTIME</b>)  int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t *file_actions, int fildes);
 posix_spawn_file_actions_adddup2       spawn.h SPN     posix_spawn_file_actions_adddup2 - add dup2 action to spawn file actions object (<b>ADVANCED REALTIME</b>)      int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t *file_actions, int fildes, int newfildes);
-posix_spawn_file_actions_addopen       spawn.h SPN     posix_spawn_file_actions_addclose, posix_spawn_file_actions_addopen - add close or open action to spawn file actions object (<b>ADVANCED REALTIME</b>)  int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t *restrict file_actions, int fildes, const char *restrict path, int oflag, mode_tmode);
+posix_spawn_file_actions_addopen       spawn.h SPN     posix_spawn_file_actions_addclose, posix_spawn_file_actions_addopen - add close or open action to spawn file actions object (<b>ADVANCED REALTIME</b>)  int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t *restrict file_actions, int fildes, const char *restrict path, int oflag, mode_t mode);
 posix_spawn_file_actions_destroy       spawn.h SPN     posix_spawn_file_actions_destroy, posix_spawn_file_actions_init - destroy and initialize spawn file actions object (<b>ADVANCED REALTIME</b>)   int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *file_actions);
 posix_spawn_file_actions_init  spawn.h SPN     posix_spawn_file_actions_destroy, posix_spawn_file_actions_init - destroy and initialize spawn file actions object (<b>ADVANCED REALTIME</b>)   int posix_spawn_file_actions_init(posix_spawn_file_actions_t *file_actions);
 posix_spawnattr_destroy        spawn.h SPN     posix_spawnattr_destroy, posix_spawnattr_init - destroy and initialize spawn attributes object (<b>ADVANCED REALTIME</b>)       int posix_spawnattr_destroy(posix_spawnattr_t *attr);
@@ -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 (<b>ADVANCED REALTIME</b>)       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 (<b>ADVANCED REALTIME</b>)        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 (<b>ADVANCED REALTIME</b>)  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 (<b>ADVANCED REALTIME</b>)    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 (<b>ADVANCED REALTIME</b>)    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 (<b>ADVANCED REALTIME</b>)    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 (<b>ADVANCED REALTIME</b>)    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_toffset);
-printf stdio.h         dprintf, fprintf, printf, snprintf, sprintf - print formatted output    int dprintf(int fildes, 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);
+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);
 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));
@@ -676,7 +676,7 @@ pthread_attr_setscope       pthread.h       TPS     pthread_attr_getscope, pthread_attr_setscope
 pthread_attr_setstack  pthread.h       TSA TSS pthread_attr_getstack, pthread_attr_setstack - get and set stack attributes     int pthread_attr_setstack(pthread_attr_t *attr, void *stackaddr, size_t stacksize);
 pthread_attr_setstacksize      pthread.h       TSS     pthread_attr_getstacksize, pthread_attr_setstacksize - get and set the stacksize attribute      int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);
 pthread_barrier_destroy        pthread.h               pthread_barrier_destroy, pthread_barrier_init - destroy and initialize a barrier object int pthread_barrier_destroy(pthread_barrier_t *barrier);
-pthread_barrier_init   pthread.h               pthread_barrier_destroy, pthread_barrier_init - destroy and initialize a barrier object int pthread_barrier_init(pthread_barrier_t *restrict barrier, const pthread_barrierattr_t *restrict attr, unsignedcount);
+pthread_barrier_init   pthread.h               pthread_barrier_destroy, pthread_barrier_init - destroy and initialize a barrier object int pthread_barrier_init(pthread_barrier_t *restrict barrier, const pthread_barrierattr_t *restrict attr, unsigned count);
 pthread_barrier_wait   pthread.h               pthread_barrier_wait - synchronize at a barrier int pthread_barrier_wait(pthread_barrier_t *barrier);
 pthread_barrierattr_destroy    pthread.h               pthread_barrierattr_destroy, pthread_barrierattr_init - destroy and initialize the barrier attributes object    int pthread_barrierattr_destroy(pthread_barrierattr_t *attr);
 pthread_barrierattr_getpshared pthread.h       TSH     pthread_barrierattr_getpshared, pthread_barrierattr_setpshared - get and set the process-shared attribute of the barrier attributes object      int pthread_barrierattr_getpshared(const pthread_barrierattr_t *restrict attr, int *restrict pshared);
@@ -774,20 +774,20 @@ raise     signal.h                raise - send a signal to the executing process  int raise(int sig
 rand   stdlib.h                rand, rand_r, srand - pseudo-random number generator    int rand(void);
 rand_r stdlib.h        OB CX   rand, rand_r, srand - pseudo-random number generator    int rand_r(unsigned *seed);
 random stdlib.h        XSI     initstate, random, setstate, srandom - pseudo-random number functions   long random(void);
-read   unistd.h                pread, read - read from a file  ssize_t pread(int fildes, void *buf, size_t nbyte, off_toffset);
+read   unistd.h                pread, read - read from a file  ssize_t read(int fildes, void *buf, size_t nbyte);
 readdir        dirent.h                readdir, readdir_r - read a directory   struct dirent *readdir(DIR *dirp);
 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, intflags);
-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], inteflags);
+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);
 regfree        regex.h         regcomp, regerror, regexec, regfree - regular expression matching       void regfree(regex_t *preg);
 remainder      math.h          remainder, remainderf, remainderl - remainder function  double remainder(double x, double y);
 remainderf     math.h          remainder, remainderf, remainderl - remainder function  float remainderf(float x, float y);
@@ -798,7 +798,7 @@ remquo      math.h          remquo, remquof, remquol - remainder functions  double remquo(doub
 remquof        math.h          remquo, remquof, remquol - remainder functions  float remquof(float x, float y, int *quo);
 remquol        math.h          remquo, remquof, remquol - remainder functions  long double remquol(long double x, long double y, int *quo);
 rename stdio.h CX      rename, renameat - rename file relative to directory file descriptor    int rename(const char *old, const char *new);
-renameat       stdio.h CX      rename, renameat - rename file relative to directory file descriptor    int renameat(int oldfd, const char *old, intnewfd, const char *new);
+renameat       stdio.h CX      rename, renameat - rename file relative to directory file descriptor    int renameat(int oldfd, const char *old, int newfd, const char *new);
 rewind stdio.h         rewind - reset the file position indicator in a stream  void rewind(FILE *stream);
 rewinddir      dirent.h                rewinddir - reset the position of a directory stream to the beginning of a directory    void rewinddir(DIR *dirp);
 rint   math.h          rint, rintf, rintl - round-to-nearest integral value    double rint(double x);
@@ -815,7 +815,7 @@ scalbn      math.h          scalbln, scalblnf, scalblnl, scalbn, scalbnf, scalbnl - compute e
 scalbnf        math.h          scalbln, scalblnf, scalblnl, scalbn, scalbnf, scalbnl - compute exponent using FLT_RADIX        float scalbnf(float x, int n);
 scalbnl        math.h          scalbln, scalblnf, scalblnl, scalbn, scalbnf, scalbnl - compute exponent using FLT_RADIX        long double scalbnl(long double x, int n);
 scandir        dirent.h                alphasort, scandir - scan a directory   int scandir(const char *dir, struct dirent ***namelist, int (*sel)(const struct dirent *), int (*compar)(const struct dirent **, const struct dirent **));
-scanf  stdio.h         fscanf, scanf, sscanf - convert formatted input int fscanf(FILE *restrict stream, const char *restrict format, ...);
+scanf  stdio.h         fscanf, scanf, sscanf - convert formatted input int scanf(const char *restrict format, ...);
 sched_get_priority_max sched.h PS      sched_get_priority_max, sched_get_priority_min - get priority limits (<b>REALTIME</b>)  int sched_get_priority_max(int policy);
 sched_get_priority_min sched.h PS      sched_get_priority_max, sched_get_priority_min - get priority limits (<b>REALTIME</b>)  int sched_get_priority_min(int policy);
 sched_getparam sched.h PS      sched_getparam - get scheduling parameters (<b>REALTIME</b>)    int sched_getparam(pid_t pid, struct sched_param *param);
@@ -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 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);
+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, intflags);
-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 (<b>CRYPT</b>)        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 (<b>REALTIME</b>)        int shm_open(const char *name, int oflag, mode_t mode);
-shm_unlink     sys_mman.h      SHM     shm_unlink - remove a shared memory object (<b>REALTIME</b>)    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 (<b>REALTIME</b>)        int shm_open(const char *name, int oflag, mode_t mode);
+shm_unlink     sys/mman.h      SHM     shm_unlink - remove a shared memory object (<b>REALTIME</b>)    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,13 +922,13 @@ 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 lstat(const char *restrict path, struct stat *restrict buf);
-statvfs        sys_statvfs.h           fstatvfs, statvfs - get file system information int fstatvfs(int fildes, struct statvfs *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    
 stpcpy string.h        CX      stpcpy, strcpy - copy a string and return a pointer to the end of the result    char *stpcpy(char *restrict s1, const char *restrict s2);
-stpncpy        string.h        CX      stpncpy, strncpy - copy fixed length string, returning a pointer to the array end       char *stpncpy(char *restrict s1, const char *restrict s2, size_tn);
+stpncpy        string.h        CX      stpncpy, strncpy - copy fixed length string, returning a pointer to the array end       char *stpncpy(char *restrict s1, const char *restrict s2, size_t n);
 strcasecmp     strings.h               strcasecmp, strcasecmp_l, strncasecmp, strncasecmp_l - case-insensitive string comparisons      int strcasecmp(const char *s1, const char *s2);
 strcasecmp_l   strings.h               strcasecmp, strcasecmp_l, strncasecmp, strncasecmp_l - case-insensitive string comparisons      int strcasecmp_l(const char *s1, const char *s2, locale_t locale);
 strcat string.h                strcat - concatenate two strings        char *strcat(char *restrict s1, const char *restrict s2);
@@ -944,8 +944,8 @@ strerror_l  string.h        CX      strerror, strerror_l, strerror_r - get error message stri
 strerror_r     string.h        CX      strerror, strerror_l, strerror_r - get error message string     int strerror_r(int errnum, char *strerrbuf, size_t buflen);
 strfmon        monetary.h              strfmon, strfmon_l - convert monetary value to a string ssize_t strfmon(char *restrict s, size_t maxsize, const char *restrict format, ...);
 strfmon_l      monetary.h              strfmon, strfmon_l - convert monetary value to a string ssize_t strfmon_l(char *restrict s, size_t maxsize, locale_t locale, const char *restrict format, ...);
-strftime       time.h          strftime, strftime_l - convert date and time to a string        size_t strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct tm *restricttimeptr);
-strftime_l     time.h  CX      strftime, strftime_l - convert date and time to a string        size_t strftime_l(char *restrict s, size_t maxsize, const char *restrict format, const struct tm *restricttimeptr, locale_t locale);
+strftime       time.h          strftime, strftime_l - convert date and time to a string        size_t strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct tm *restrict timeptr);
+strftime_l     time.h  CX      strftime, strftime_l - convert date and time to a string        size_t strftime_l(char *restrict s, size_t maxsize, const char *restrict format, const struct tm *restrict timeptr, locale_t locale);
 strlen string.h                strlen, strnlen - get length of fixed size string       size_t strlen(const char *s);
 strncasecmp    strings.h               strcasecmp, strcasecmp_l, strncasecmp, strncasecmp_l - case-insensitive string comparisons      int strncasecmp(const char *s1, const char *s2, size_t n);
 strncasecmp_l  strings.h               strcasecmp, strcasecmp_l, strncasecmp, strncasecmp_l - case-insensitive string comparisons      int strncasecmp_l(const char *s1, const char *s2, size_t n, locale_t locale);
@@ -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,13 +1046,13 @@ 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);
 va_start       stdarg.h                va_arg, va_copy, va_end, va_start - handle variable argument list       void va_start(va_list ap, argN);
-vdprintf       stdarg.h stdio.h        CX      vdprintf, vfprintf, vprintf, vsnprintf, vsprintf - format output of a stdarg argument list      int vdprintf(int fildes, const char *restrict format, va_listap);
+vdprintf       stdarg.h stdio.h        CX      vdprintf, vfprintf, vprintf, vsnprintf, vsprintf - format output of a stdarg argument list      int vdprintf(int fildes, const char *restrict format, va_list ap);
 vfprintf       stdarg.h stdio.h                vdprintf, vfprintf, vprintf, vsnprintf, vsprintf - format output of a stdarg argument list      int vfprintf(FILE *restrict stream, const char *restrict format, va_list ap);
 vfscanf        stdarg.h stdio.h                vfscanf, vscanf, vsscanf - format input of a stdarg argument list       int vfscanf(FILE *restrict stream, const char *restrict format, va_list arg);
 vfwprintf      stdarg.h stdio.h wchar.h                vfwprintf, vswprintf, vwprintf - wide-character formatted output of a stdarg argument list      int vfwprintf(FILE *restrict stream, const wchar_t *restrict format, va_list arg);
@@ -1066,11 +1066,11 @@ 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, intoptions);
-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 *restrictws2, size_t n);
+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);
 wcscasecmp     wchar.h CX      wcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison        int wcscasecmp(const wchar_t *ws1, const wchar_t *ws2);
 wcscasecmp_l   wchar.h CX      wcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison        int wcscasecmp_l(const wchar_t *ws1, const wchar_t *ws2, locale_t locale);
@@ -1082,7 +1082,7 @@ wcscoll_l wchar.h CX      wcscoll, wcscoll_l - wide-character string comparison using
 wcscpy wchar.h         wcpcpy, wcscpy - copy a wide-character string, returning a pointer to its end   wchar_t *wcscpy(wchar_t *restrict ws1, const wchar_t *restrict ws2);
 wcscspn        wchar.h         wcscspn - get the length of a complementary wide substring      size_t wcscspn(const wchar_t *ws1, const wchar_t *ws2);
 wcsdup wchar.h CX      wcsdup - duplicate a wide-character string      wchar_t *wcsdup(const wchar_t *string);
-wcsftime       wchar.h         wcsftime - convert date and time to a wide-character string     size_t wcsftime(wchar_t *restrict wcs, size_t maxsize, const wchar_t *restrict format, const struct tm *restricttimeptr);
+wcsftime       wchar.h         wcsftime - convert date and time to a wide-character string     size_t wcsftime(wchar_t *restrict wcs, size_t maxsize, const wchar_t *restrict format, const struct tm *restrict timeptr);
 wcslen wchar.h         wcslen, wcsnlen - get length of a fixed-sized wide-character string     size_t wcslen(const wchar_t *ws);
 wcsncasecmp    wchar.h CX      wcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison        int wcsncasecmp(const wchar_t *ws1, const wchar_t *ws2, size_t n);
 wcsncasecmp_l  wchar.h CX      wcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison        int wcsncasecmp_l(const wchar_t *ws1, const wchar_t *ws2, size_t n, locale_t locale);
@@ -1090,7 +1090,7 @@ wcsncat   wchar.h         wcsncat - concatenate a wide-character string with part of anot
 wcsncmp        wchar.h         wcsncmp - compare part of two wide-character strings    int wcsncmp(const wchar_t *ws1, const wchar_t *ws2, size_t n);
 wcsncpy        wchar.h         wcpncpy, wcsncpy - copy a fixed-size wide-character string, returning a pointer to its end      wchar_t *wcsncpy(wchar_t *restrict ws1, const wchar_t *restrict ws2, size_t n);
 wcsnlen        wchar.h CX      wcslen, wcsnlen - get length of a fixed-sized wide-character string     size_t wcsnlen(const wchar_t *ws, size_t maxlen);
-wcsnrtombs     wchar.h CX      wcsnrtombs, wcsrtombs - convert a wide-character string to a character string (restartable)     size_t wcsnrtombs(char *restrict dst, const wchar_t **restrictsrc, size_t nwc, size_t len, mbstate_t *restrictps);
+wcsnrtombs     wchar.h CX      wcsnrtombs, wcsrtombs - convert a wide-character string to a character string (restartable)     size_t wcsnrtombs(char *restrict dst, const wchar_t **restrict src, size_t nwc, size_t len, mbstate_t *restrict ps);
 wcspbrk        wchar.h         wcspbrk - scan a wide-character string for a wide-character code        wchar_t *wcspbrk(const wchar_t *ws1, const wchar_t *ws2);
 wcsrchr        wchar.h         wcsrchr - wide-character string scanning operation      wchar_t *wcsrchr(const wchar_t *ws, wchar_t wc);
 wcsrtombs      wchar.h         wcsnrtombs, wcsrtombs - convert a wide-character string to a character string (restartable)     size_t wcsrtombs(char *restrict dst, const wchar_t **restrict src, size_t len, mbstate_t *restrict ps);
@@ -1109,7 +1109,7 @@ wcstoull  wchar.h         wcstoul, wcstoull - convert a wide-character string to an unsi
 wcstoumax      stddef.h inttypes.h             wcstoimax, wcstoumax - convert a wide-character string to an integer type       uintmax_t wcstoumax(const wchar_t *restrict nptr, wchar_t **restrict endptr, int base);
 wcswidth       wchar.h XSI     wcswidth - number of column positions of a wide-character string        int wcswidth(const wchar_t *pwcs, size_t n);
 wcsxfrm        wchar.h         wcsxfrm, wcsxfrm_l - wide-character string transformation       size_t wcsxfrm(wchar_t *restrict ws1, const wchar_t *restrict ws2, size_t n);
-wcsxfrm_l      wchar.h CX      wcsxfrm, wcsxfrm_l - wide-character string transformation       size_t wcsxfrm_l(wchar_t *restrict ws1, const wchar_t *restrictws2, size_t n, locale_t locale);
+wcsxfrm_l      wchar.h CX      wcsxfrm, wcsxfrm_l - wide-character string transformation       size_t wcsxfrm_l(wchar_t *restrict ws1, const wchar_t *restrict ws2, size_t n, locale_t locale);
 wctob  stdio.h wchar.h         wctob - wide-character to single-byte conversion        int wctob(wint_t c);
 wctomb stdlib.h                wctomb - convert a wide-character code to a character   int wctomb(char *s, wchar_t wchar);
 wctrans        wctype.h                wctrans, wctrans_l - define character mapping   wctrans_t wctrans(const char *charclass);
@@ -1124,10 +1124,10 @@ wmemmove        wchar.h         wmemmove - copy wide characters in memory with overlapping are
 wmemset        wchar.h         wmemset - set wide characters in memory wchar_t *wmemset(wchar_t *ws, wchar_t wc, size_t n);
 wordexp        wordexp.h               wordexp, wordfree - perform word expansions     int wordexp(const char *restrict words, wordexp_t *restrict pwordexp, int flags);
 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 fwprintf(FILE *restrict stream, const wchar_t *restrict format, ...);
-write  unistd.h                pwrite, write - write on a file ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset);
-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 fwscanf(FILE *restrict stream, const wchar_t *restrict format, ...);
+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);
+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);
 yn     math.h  XSI     y0, y1, yn - Bessel functions of the second kind        double yn(int n, double x);