Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 1 | \chapter{UNIX Specific Services} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 2 | |
| 3 | The modules described in this chapter provide interfaces to features |
Guido van Rossum | 6bb1adc | 1995-03-13 10:03:32 +0000 | [diff] [blame] | 4 | that are unique to the \UNIX{} operating system, or in some cases to |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 5 | some or many variants of it. Here's an overview: |
| 6 | |
| 7 | \begin{description} |
| 8 | |
| 9 | \item[posix] |
| 10 | --- The most common Posix system calls (normally used via module \code{os}). |
| 11 | |
| 12 | \item[posixpath] |
| 13 | --- Common Posix pathname manipulations (normally used via \code{os.path}). |
| 14 | |
| 15 | \item[pwd] |
| 16 | --- The password database (\code{getpwnam()} and friends). |
| 17 | |
| 18 | \item[grp] |
| 19 | --- The group database (\code{getgrnam()} and friends). |
| 20 | |
Guido van Rossum | 5c6e373 | 1996-04-10 16:18:20 +0000 | [diff] [blame] | 21 | \item[crypt] |
Fred Drake | 63a0c37 | 1996-12-16 22:12:33 +0000 | [diff] [blame] | 22 | --- The \code{crypt()} function used to check \UNIX{} passwords. |
Guido van Rossum | 5c6e373 | 1996-04-10 16:18:20 +0000 | [diff] [blame] | 23 | |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 24 | \item[dbm] |
| 25 | --- The standard ``database'' interface, based on \code{ndbm}. |
| 26 | |
| 27 | \item[gdbm] |
| 28 | --- GNU's reinterpretation of dbm. |
| 29 | |
| 30 | \item[termios] |
| 31 | --- Posix style tty control. |
| 32 | |
Fred Drake | 4b3f031 | 1996-12-13 22:04:31 +0000 | [diff] [blame] | 33 | \item[TERMIOS] |
| 34 | --- The symbolic constants required to use the \code{termios} module. |
| 35 | |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 36 | \item[fcntl] |
| 37 | --- The \code{fcntl()} and \code{ioctl()} system calls. |
| 38 | |
| 39 | \item[posixfile] |
| 40 | --- A file-like object with support for locking. |
| 41 | |
Fred Drake | ae0cd0b | 1996-12-19 12:20:54 +0000 | [diff] [blame] | 42 | \item[resource] |
| 43 | --- An interface to provide resource usage information on the current |
| 44 | process. |
| 45 | |
Fred Drake | 4b3f031 | 1996-12-13 22:04:31 +0000 | [diff] [blame] | 46 | \item[syslog] |
Fred Drake | 63a0c37 | 1996-12-16 22:12:33 +0000 | [diff] [blame] | 47 | --- An interface to the \UNIX{} \code{syslog} library routines. |
Fred Drake | 4b3f031 | 1996-12-13 22:04:31 +0000 | [diff] [blame] | 48 | |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 49 | \end{description} |