From: Skip Montanaro Date: Wed, 19 Jul 2000 17:30:58 +0000 (+0000) Subject: added doc for isatty() X-Git-Tag: v2.0b1~782 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d372521ec01234c80bfb386a1beed3e717995c71;p=python added doc for isatty() --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index cb55eb587f..aa8c7d5f58 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -360,6 +360,12 @@ so that it is at most \var{length} bytes in size. Availability: \UNIX{}. \end{funcdesc} +\begin{funcdesc}{isatty}{fd} +Return \code{1} if the file descriptor \var{fd} is open and connected to a +tty(-like) device, else \code{0}. +Availability: \UNIX{} +\end{funcdesc} + \begin{funcdesc}{lseek}{fd, pos, how} Set the current position of file descriptor \var{fd} to position \var{pos}, modified by \var{how}: \code{0} to set the position