File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,6 +80,12 @@ \section{\module{posix} ---
8080
8181It defines the following functions and constants:
8282
83+ \begin {funcdesc }{access}{path, mode}
84+ Check read/write/execute permissions for this process or extance of file
85+ \var {path}. Return \code {1} if access is granted, \code {0} if not.
86+ See the \UNIX {} manual for the semantics.
87+ \end {funcdesc }
88+
8389\begin {funcdesc }{chdir}{path}
8490Change the current working directory to \var {path}.
8591\end {funcdesc }
@@ -321,6 +327,12 @@ \section{\module{posix} ---
321327Return the error message corresponding to the error code in \var {code}.
322328\end {funcdesc }
323329
330+ \begin {funcdesc }{ttyname}{fd}
331+ Return a string which specifies the terminal device associated with
332+ file-descriptor \var {fd}. If \var {fd} is not associated with a terminal
333+ device, an exception is raised.
334+ \end {funcdesc }
335+
324336\begin {funcdesc }{read}{fd, n}
325337Read at most \var {n} bytes from file descriptor \var {fd}.
326338Return a string containing the bytes read.
You can’t perform that action at this time.
0 commit comments