Unix Specific Services¶
The modules described in this chapter provide interfaces to features that are unique to the Unix operating system, or in some cases to some or many variants of it. Here’s an overview:
posix
— The most common POSIX system callspwd
— The password databasegrp
— The group databasetermios
— POSIX style tty controltty
— Terminal control functionspty
— Pseudo-terminal utilitiesfcntl
— Thefcntl
andioctl
system callsresource
— Resource usage informationerror
- Resource Limits
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
- Resource Usage
syslog
— Unix syslog library routines