diff options
| author | Guido van Rossum <guido@python.org> | 1995-04-04 12:29:37 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1995-04-04 12:29:37 +0000 |
| commit | 02ee80d408727c5b9ddebdbdedbfbb03a17f24ea (patch) | |
| tree | 38c22002616aae2deebeaf4a968790d8f4a6f671 /Doc/lib/libselect.tex | |
| parent | 25f6fcc55049e6e3e4e5073817d7b8243186c812 (diff) | |
| download | cpython-git-02ee80d408727c5b9ddebdbdedbfbb03a17f24ea.tar.gz | |
minor things
Diffstat (limited to 'Doc/lib/libselect.tex')
| -rw-r--r-- | Doc/lib/libselect.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libselect.tex b/Doc/lib/libselect.tex index 421d1aaca7..0b50101395 100644 --- a/Doc/lib/libselect.tex +++ b/Doc/lib/libselect.tex @@ -12,14 +12,14 @@ corresponding string, as would be printed by the C function \code{perror()}. \end{excdesc} -\begin{funcdesc}{select}{iwtd\, owtd\, ewtd\, timeout} +\begin{funcdesc}{select}{iwtd\, owtd\, ewtd\optional{\, timeout}} This is a straightforward interface to the \UNIX{} \code{select()} system call. The first three arguments are lists of `waitable objects': either integers representing \UNIX{} file descriptors or objects with a parameterless method named \code{fileno()} returning such an integer. The three lists of waitable objects are for input, output and `exceptional conditions', respectively. Empty lists are -allowed. The optional last argument is a time-out specified as a +allowed. The optional \var{timeout} argument specifies a time-out as a floating point number in seconds. When the \var{timeout} argument is omitted the function blocks until at least one file descriptor is ready. A time-out value of zero specifies a poll and never blocks. |
