1997-04-02 02:06:03 -04:00
|
|
|
\chapter{Unix Specific Services}
|
1998-02-18 11:47:17 -04:00
|
|
|
\label{unix}
|
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-18 11:47:17 -04:00
|
|
|
--- The most common \POSIX{} system calls (normally used via module
|
|
|
|
\module{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]
|
1998-02-18 11:47:17 -04:00
|
|
|
--- The password database (\function{getpwnam()} and friends).
|
1995-03-28 09:35:14 -04:00
|
|
|
|
|
|
|
\item[grp]
|
1998-02-18 11:47:17 -04:00
|
|
|
--- The group database (\function{getgrnam()} and friends).
|
1995-03-28 09:35:14 -04:00
|
|
|
|
1996-04-10 13:18:20 -03:00
|
|
|
\item[crypt]
|
1998-02-18 11:47:17 -04:00
|
|
|
--- The \cfunction{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]
|
1998-02-18 11:47:17 -04:00
|
|
|
--- The symbolic constants required to use the \module{termios} module.
|
1996-12-13 18:04:31 -04:00
|
|
|
|
1995-03-28 09:35:14 -04:00
|
|
|
\item[fcntl]
|
1998-02-18 11:47:17 -04:00
|
|
|
--- The \function{fcntl()} and \function{ioctl()} system calls.
|
1995-03-28 09:35:14 -04:00
|
|
|
|
|
|
|
\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
|
1998-02-18 11:47:17 -04:00
|
|
|
\function{os.stat()}, \function{os.lstat()} and \function{os.fstat()}.
|
1998-02-11 18:58:55 -04:00
|
|
|
|
|
|
|
\item[commands]
|
1998-02-18 11:47:17 -04:00
|
|
|
--- Wrapper functions for \function{os.popen()}.
|
1998-02-11 18:58:55 -04:00
|
|
|
|
1995-03-28 09:35:14 -04:00
|
|
|
\end{description}
|