diff options
-rw-r--r-- | Doc/lib/libposix.tex | 7 | ||||
-rw-r--r-- | Doc/libposix.tex | 7 | ||||
-rwxr-xr-x | Doc/tools/whichlibs | 2 | ||||
-rwxr-xr-x | Doc/whichlibs | 2 |
4 files changed, 16 insertions, 2 deletions
diff --git a/Doc/lib/libposix.tex b/Doc/lib/libposix.tex index 737ddb1..c22f1e0 100644 --- a/Doc/lib/libposix.tex +++ b/Doc/lib/libposix.tex @@ -89,6 +89,13 @@ Note: the standard way to exit is \code{sys.exit(\var{n})}. after a \code{fork()}. \end{funcdesc} +\begin{funcdesc}{fdopen}{fd\, mode} +Return an open file object connected to the file descriptor \var{fd}, +open for reading and/or writing according to the \var{mode} string +(which has the same meaning as the \var{mode} argument to the built-in +\code{open()} function. +\end{funcdesc} + \begin{funcdesc}{fork}{} Fork a child process. Return 0 in the child, the child's process id in the parent. diff --git a/Doc/libposix.tex b/Doc/libposix.tex index 737ddb1..c22f1e0 100644 --- a/Doc/libposix.tex +++ b/Doc/libposix.tex @@ -89,6 +89,13 @@ Note: the standard way to exit is \code{sys.exit(\var{n})}. after a \code{fork()}. \end{funcdesc} +\begin{funcdesc}{fdopen}{fd\, mode} +Return an open file object connected to the file descriptor \var{fd}, +open for reading and/or writing according to the \var{mode} string +(which has the same meaning as the \var{mode} argument to the built-in +\code{open()} function. +\end{funcdesc} + \begin{funcdesc}{fork}{} Fork a child process. Return 0 in the child, the child's process id in the parent. diff --git a/Doc/tools/whichlibs b/Doc/tools/whichlibs index b7efe14..56287cb 100755 --- a/Doc/tools/whichlibs +++ b/Doc/tools/whichlibs @@ -1,2 +1,2 @@ -#! /bin/sh +#!/bin/sh sed -n 's/^\\input{\(lib[a-zA-Z0-9_]*\)}.*/\1.tex/p' lib.tex diff --git a/Doc/whichlibs b/Doc/whichlibs index b7efe14..56287cb 100755 --- a/Doc/whichlibs +++ b/Doc/whichlibs @@ -1,2 +1,2 @@ -#! /bin/sh +#!/bin/sh sed -n 's/^\\input{\(lib[a-zA-Z0-9_]*\)}.*/\1.tex/p' lib.tex |