summaryrefslogtreecommitdiffstats
path: root/Doc/libunix.tex
blob: 26628c891f6947d132d2b0a40fc3654c670185a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
\chapter{Unix Specific Services}

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 \code{os}).

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

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

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

\item[crypt]
--- The \code{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 \code{termios} module.

\item[fcntl]
--- The \code{fcntl()} and \code{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
\code{os.stat()}, \code{os.lstat()} and \code{os.fstat()}.

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

\end{description}