유닉스 특정 서비스
******************

이 장에서 설명하는 모듈은 유닉스 운영 체제(혹은 때에 따라 일부 혹은 많
은 변종)에 고유한 기능에 대한 인터페이스를 제공합니다. 다음은 개요입니
다:

* "posix" --- The most common POSIX system calls

  * 대용량 파일 지원

  * 주목할만한 모듈 내용

    * "environ"

* "pwd" --- The password database

  * "getpwuid()"

  * "getpwnam()"

  * "getpwall()"

* "grp" --- The group database

  * "getgrgid()"

  * "getgrnam()"

  * "getgrall()"

* "termios" --- POSIX style tty control

  * "tcgetattr()"

  * "tcsetattr()"

    * "TCSANOW"

    * "TCSADRAIN"

    * "TCSAFLUSH"

  * "tcsendbreak()"

  * "tcdrain()"

  * "tcflush()"

  * "tcflow()"

  * "tcgetwinsize()"

  * "tcsetwinsize()"

  * 예제

* "tty" --- Terminal control functions

  * "cfmakeraw()"

  * "cfmakecbreak()"

  * "setraw()"

  * "setcbreak()"

* "pty" --- Pseudo-terminal utilities

  * "fork()"

  * "openpty()"

  * "spawn()"

  * 예제

* "fcntl" --- The "fcntl" and "ioctl" system calls

  * "fcntl()"

  * "ioctl()"

  * "flock()"

  * "lockf()"

    * "LOCK_UN"

    * "LOCK_SH"

    * "LOCK_EX"

    * "LOCK_NB"

* "resource" --- Resource usage information

  * "error"

  * 자원 제한

    * "RLIM_INFINITY"

    * "getrlimit()"

    * "setrlimit()"

    * "prlimit()"

    * "RLIMIT_CORE"

    * "RLIMIT_CPU"

    * "RLIMIT_FSIZE"

    * "RLIMIT_DATA"

    * "RLIMIT_STACK"

    * "RLIMIT_RSS"

    * "RLIMIT_NPROC"

    * "RLIMIT_NOFILE"

    * "RLIMIT_OFILE"

    * "RLIMIT_MEMLOCK"

    * "RLIMIT_VMEM"

    * "RLIMIT_AS"

    * "RLIMIT_MSGQUEUE"

    * "RLIMIT_NICE"

    * "RLIMIT_RTPRIO"

    * "RLIMIT_RTTIME"

    * "RLIMIT_SIGPENDING"

    * "RLIMIT_SBSIZE"

    * "RLIMIT_SWAP"

    * "RLIMIT_NPTS"

    * "RLIMIT_KQUEUES"

  * 자원 사용량

    * "getrusage()"

    * "getpagesize()"

    * "RUSAGE_SELF"

    * "RUSAGE_CHILDREN"

    * "RUSAGE_BOTH"

    * "RUSAGE_THREAD"

* "syslog" --- Unix syslog library routines

  * "syslog()"

  * "openlog()"

  * "closelog()"

  * "setlogmask()"

  * 예제

    * 간단한 예제
