mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
added doc for isatty()
This commit is contained in:
parent
e9e5dcd4db
commit
d372521ec0
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue