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