sys/ipc.h is fine. -------------------------------------------- mman.h doesn't declare the following optional functions: int mlock(const void *, size_t); int mlockall(int); int munlock(const void *, size_t); int munlockall(void); int posix_mem_offset(const void *restrict, size_t, off_t *restrict, size_t *restrict, int *restrict); int posix_typed_mem_get_info(int, struct posix_typed_mem_info *); int posix_typed_mem_open(const char *, int, int); and doesn't define the following symbolic constants: flags for mlockall() MCL_CURRENT MCL_FUTURE flags for posix_typed_mem_open() POSIX_TYPED_MEM_ALLOCATE POSIX_TYPED_MEM_ALLOCATE_CONTIG POSIX_TYPED_MEM_MAP_ALLOCATABLE -------------------------------------------- sys/msg.h is fine. -------------------------------------------- resource.h doesn't declare the following mandatory functions (as noted in the header): int setpriority(int, id_t, int); int getpriority(int, id_t); The symbolic constants for these, however, are defined. -------------------------------------------- sys/select.h is fine. -------------------------------------------- sys/sem.h is fine. -------------------------------------------- sys/shm.h is missing altogether. -------------------------------------------- sys/socket.h sa_family_t type-def is missing. sa_family member of sockaddr struct should be of type sa_family_t. ss_family member of sockaddr_storage struct should be of type sa_family_t. -------------------------------------------- sys/stat.h doesn't declare the following functions: int mknod(const char *, mode_t, dev_t); int mknodat(int, const char *, mode_t, dev_t); both of which are marked as "XSI" in the standard. -------------------------------------------- sys/statvfs.h is fine. -------------------------------------------- sys/time.h is fine. -------------------------------------------- sys/times.h is fine. -------------------------------------------- sys/types.h is fine. -------------------------------------------- sys/uio.h is fine. -------------------------------------------- sys/un.h sun_family member of sockaddr_un struct should be of type sa_family_t (see note of type-def ommision in sys/socket.h above). -------------------------------------------- sys/utsname.h is fine. -------------------------------------------- sys/wait.h doesn't declare (as noted in the header): int waitid(idtype_t, id_t, siginfo_t *, int); and doesn't define its idtype_t enum (it's there, but commented out).