1997-04-02 14:06:03 +08:00
|
|
|
\chapter{Unix Specific Services}
|
1994-01-02 09:22:07 +08:00
|
|
|
|
|
|
|
The modules described in this chapter provide interfaces to features
|
1995-03-13 18:03:32 +08:00
|
|
|
that are unique to the \UNIX{} operating system, or in some cases to
|
1995-03-28 21:35:14 +08:00
|
|
|
some or many variants of it. Here's an overview:
|
|
|
|
|
|
|
|
\begin{description}
|
|
|
|
|
|
|
|
\item[posix]
|
|
|
|
--- The most common Posix system calls (normally used via module \code{os}).
|
|
|
|
|
|
|
|
\item[posixpath]
|
|
|
|
--- Common Posix pathname manipulations (normally used via \code{os.path}).
|
|
|
|
|
|
|
|
\item[pwd]
|
|
|
|
--- The password database (\code{getpwnam()} and friends).
|
|
|
|
|
|
|
|
\item[grp]
|
|
|
|
--- The group database (\code{getgrnam()} and friends).
|
|
|
|
|
1996-04-11 00:18:20 +08:00
|
|
|
\item[crypt]
|
1996-12-17 06:12:33 +08:00
|
|
|
--- The \code{crypt()} function used to check \UNIX{} passwords.
|
1996-04-11 00:18:20 +08:00
|
|
|
|
1995-03-28 21:35:14 +08:00
|
|
|
\item[dbm]
|
|
|
|
--- The standard ``database'' interface, based on \code{ndbm}.
|
|
|
|
|
|
|
|
\item[gdbm]
|
|
|
|
--- GNU's reinterpretation of dbm.
|
|
|
|
|
|
|
|
\item[termios]
|
|
|
|
--- Posix style tty control.
|
|
|
|
|
1996-12-14 06:04:31 +08:00
|
|
|
\item[TERMIOS]
|
|
|
|
--- The symbolic constants required to use the \code{termios} module.
|
|
|
|
|
1995-03-28 21:35:14 +08:00
|
|
|
\item[fcntl]
|
|
|
|
--- The \code{fcntl()} and \code{ioctl()} system calls.
|
|
|
|
|
|
|
|
\item[posixfile]
|
|
|
|
--- A file-like object with support for locking.
|
|
|
|
|
1996-12-19 20:20:54 +08:00
|
|
|
\item[resource]
|
|
|
|
--- An interface to provide resource usage information on the current
|
|
|
|
process.
|
|
|
|
|
1996-12-14 06:04:31 +08:00
|
|
|
\item[syslog]
|
1996-12-17 06:12:33 +08:00
|
|
|
--- An interface to the \UNIX{} \code{syslog} library routines.
|
1996-12-14 06:04:31 +08:00
|
|
|
|
1995-03-28 21:35:14 +08:00
|
|
|
\end{description}
|