diff --git a/Doc/lib/libposix.tex b/Doc/lib/libposix.tex index 737ddb1e45c..c22f1e06578 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 737ddb1e45c..c22f1e06578 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 b7efe14d1c0..56287cbee36 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 b7efe14d1c0..56287cbee36 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