Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 2f6c878a1402ddd83ef913928f8355d491a03d1c authored by cvs2svn on 14 April 1998, 02:16:23 UTC
This commit was manufactured by cvs2svn to create tag 'r151'.
Tip revision: 2f6c878
libunix.tex
\chapter{Unix Specific Services}
\label{unix}

The modules described in this chapter provide interfaces to features
that are unique to the \UNIX{} operating system, or in some cases to
some or many variants of it.  Here's an overview:

\begin{description}

\item[posix]
--- The most common \POSIX{} system calls (normally used via module
\module{os}).

\item[posixpath]
--- Common \POSIX{} pathname manipulations (normally used via \code{os.path}).

\item[pwd]
--- The password database (\function{getpwnam()} and friends).

\item[grp]
--- The group database (\function{getgrnam()} and friends).

\item[crypt]
--- The \cfunction{crypt()} function used to check \UNIX{} passwords.

\item[dbm]
--- The standard ``database'' interface, based on \code{ndbm}.

\item[gdbm]
--- GNU's reinterpretation of dbm.

\item[termios]
--- \POSIX{} style tty control.

\item[TERMIOS]
--- The symbolic constants required to use the \module{termios} module.

\item[fcntl]
--- The \function{fcntl()} and \function{ioctl()} system calls.

\item[posixfile]
--- A file-like object with support for locking.

\item[resource]
--- An interface to provide resource usage information on the current
process.

\item[syslog]
--- An interface to the \UNIX{} \code{syslog} library routines.

\item[stat]
--- Constants and functions for interpreting the results of
\function{os.stat()}, \function{os.lstat()} and \function{os.fstat()}.

\item[commands]
--- Wrapper functions for \function{os.popen()}.

\end{description}
back to top