The POSIX 구조

The POSIX 구조

대부분의 편리한 POSIX 인터페이스를 담는 POSIX 계열 하부 구조의 루트 구조예요. 하부 구조들의 공통 타입은 POSIX 구조에서 유래해요.

출처: 문서

본문

시놉시스 (Synopsis)

signature POSIX (* OPTIONAL *)
structure Posix :> POSIX (* OPTIONAL *)

인터페이스 (Interface)

structure Error : POSIX_ERROR
structure Signal : POSIX_SIGNAL
structure Process : POSIX_PROCESS
where type signal = Signal.signal
structure ProcEnv : POSIX_PROC_ENV
where type pid = Process.pid
structure FileSys : POSIX_FILE_SYS
where type file_desc = ProcEnv.file_desc
where type uid = ProcEnv.uid
where type gid = ProcEnv.gid
structure IO : POSIX_IO
where type pid = Process.pid
where type file_desc = ProcEnv.file_desc
where type open_mode = FileSys.open_mode
structure SysDB : POSIX_SYS_DB
where type uid = ProcEnv.uid
where type gid = ProcEnv.gid
structure TTY : POSIX_TTY
where type pid = Process.pid
where type file_desc = ProcEnv.file_desc

설명 (Description)

structure Error : POSIX_ERROR

오류와 그 설명이에요.

structure Signal : POSIX_SIGNAL

시그널 값과 그 연관 번호예요.

structure Process : POSIX_PROCESS

프로세스: fork, exec, wait, exit, kill, alarm, pause, sleep.

structure ProcEnv : POSIX_PROC_ENV

사용자·그룹 ID, 프로세스 시간, 환경 등.

structure FileSys : POSIX_FILE_SYS

파일 시스템: open, chdir, chmod, 디렉터리 등.

structure IO : POSIX_IO

입출력: read, write, pipe, dup, close, lock, seek, sync 등.

structure SysDB : POSIX_SYS_DB

비밀번호 데이터베이스, 그룹 데이터베이스 등.

structure TTY : POSIX_TTY

터미널(TTY) 제어: speed, attributes, drain, flush 등.## 더 알아보기 (Learn more)