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