POSIX = Portable Operating System Interface.
만약 Linx 계열 OS가 "POSIX compliant" 가 되려면, 아래와 같은 required header 들을 반드시 포함해야 한다.
POSIX.1 : IEEE 1003.1 1990 edition ~ IEEE 1003.1 2008 edition
Required Headers defined by the ISO C Standard
| Headers | Description |
| assert.h | verify program assertion |
| complex.h | complex arithmetic support |
| ctype.h | character classification and mapping support |
| errno.h | error codes |
| fenv.h | floating-point environment |
| float.h | floating-point constants and characteristics |
| inttypes.h | integer type format conversion |
| iso646.h | macros for assignment, relational, and unary operators |
| limits.h | implementation constants |
| locale.h | locale categories and related definitions |
| math.h | mathematical function and type declarations and constants |
| setjmp.h | nonlocal goto |
| signal.h | signals |
| stdarg.h | variable argument lists |
| stdbool.h | Boolean type and values |
| stddef.h | standard definitions |
| stdint.h | integer types |
| stdio.h | standard I/O library |
| stdlib.h | utility functions |
| string.h | string operation |
| tgmath.h | tyep-generic math macros |
| time.h | time and date |
| wchar.h | extended multibyte and wide character support |
| wctype.h | wide character classification and mapping support |
Required Headers defined by the POSIX Standard
| Headers | Description |
| aio.h | asynchronous I/O |
| cpio.h | cpio archive values |
| dirent.h | directory entries |
| dlfcn.h | dynamic linking |
| fcntl.h | file control |
| fnmatch.h | filename-matching types |
| glob.h | pathname pattern-matching and generation |
| iconv.h | codeset conversion utility |
| langinfo.h | language information constants |
| monetary.h | monetary types and functions |
| netdb.h | network database operations |
| nl_types.h | message catalogs |
| poll.h | poll function |
| pthread.h | threads |
| pwd.h | password file |
| regex.h | regular expressions |
| sched.h | execution scheduling |
| semaphore.h | semaphores |
| strings.h | string operations |
| tar.h | tar archive values |
| termios.h | terminal I/O |
| unistd.h | symbolic constants |
| wordexp.h | word-expansion definitions |
| arpa/inet.h | Internet definitions |
| net/if.h | socket local interfaces |
| netinet/in.h | Internet address family |
| netinet/tcp.h | Transmission Control Protocol definitions |
| sys/mman.h | memory management declarations |
| sys/select.h | select function |
| sys/socket.h | sockets interface |
| sys/stat.h | file status |
| sys/statvfs.h | file system information |
| sys/times.h | process times |
| sys/types.h | primitive system data types |
| sys/un.h | UNIX domain socket definitions |
| sys/utsname.h | system name |
| sys/wait.h | process control |
2008 edition 이후 interfaces 들이 required 와 optional 로 나누어 졌다.
XSI option headers defined by the POSIX Standard
| Headers | Description |
| fmtmsg.h | message display structures |
| ftw.h | file tree walking |
| libgen.h | pathname management functions |
| ndbm.h | database operations |
| search.h | search tables |
| syslog.h | system err logging |
| utmpx.h | user accounting database |
| sys/ipc.h | IPC |
| sys/msg.h | XSI message queues |
| sys/resource.h | resource operations |
| sys/sem.h | XSI semaphores |
| sys/shm.h | XSI shared memory |
| sys/time.h | time types |
| sys/uio.h | Vector I/O operations |
'Linux_system' 카테고리의 다른 글
| Multiplexed I/O - select() (0) | 2022.09.18 |
|---|---|
| QT (0) | 2022.09.07 |
| netplan 고정 IP 설정시, 서브넷 마스크 작성법 (0) | 2022.08.19 |
| User ID/Group ID (0) | 2022.08.19 |
| apue.3e 컴파일 하기 (0) | 2022.08.19 |