cpython/Doc/libunix.tex

59 lines
1.5 KiB
TeX
Raw Normal View History

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
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}).
\item[posixpath]
--- Common \POSIX{} pathname manipulations (normally used via \code{os.path}).
\item[pwd]
1998-02-18 11:47:17 -04:00
--- The password database (\function{getpwnam()} and friends).
\item[grp]
1998-02-18 11:47:17 -04:00
--- The group database (\function{getgrnam()} and friends).
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
\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]
1998-02-18 11:47:17 -04:00
--- The symbolic constants required to use the \module{termios} module.
\item[fcntl]
1998-02-18 11:47:17 -04:00
--- 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
1998-02-18 11:47:17 -04:00
\function{os.stat()}, \function{os.lstat()} and \function{os.fstat()}.
\item[commands]
1998-02-18 11:47:17 -04:00
--- Wrapper functions for \function{os.popen()}.
\end{description}