diff options
author | Skip Montanaro <skip@pobox.com> | 2000-07-19 17:30:58 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2000-07-19 17:30:58 (GMT) |
commit | d372521ec01234c80bfb386a1beed3e717995c71 (patch) | |
tree | 310705e144b9838d6c723a41913cf1b28fd79603 /Doc/lib | |
parent | e9e5dcd4db0fcb6a35c65f14a9e831d1f410dade (diff) | |
download | cpython-d372521ec01234c80bfb386a1beed3e717995c71.zip cpython-d372521ec01234c80bfb386a1beed3e717995c71.tar.gz cpython-d372521ec01234c80bfb386a1beed3e717995c71.tar.bz2 |
added doc for isatty()
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libos.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index cb55eb5..aa8c7d5 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 |