Skip to content

Commit 9570c9a

Browse files
committed
fix wording
1 parent 77b93bd commit 9570c9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

file-api.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
More descriptors can share the same file opening (read/write mode, position).
1212
\item standard file descriptors
1313
\begin{itemize}
14-
\item 0 \dots{} standard input (read only)
15-
\item 1 \dots{} standard output (write only)
16-
\item 2 \dots{} unbuffered error output (write only)
14+
\item 0 \dots{} standard input (read only)
15+
\item 1 \dots{} standard output (write only)
16+
\item 2 \dots{} unbuffered error output (write only)
1717
\end{itemize}
1818
\item for reading and writing a file: \funnm{read}(), \funnm{write}()
1919
\item position change: \funnm{lseek}(), close: \funnm{close}(),
@@ -31,7 +31,7 @@
3131
\item A process inherits file descriptors from its parent so it does not have to
3232
open already open files. Usually at least file descriptors 0, 1, and 2 are
3333
provided.
34-
\item Functions from a header file \texttt{stdio.h} (e.g. \funnm{fopen}(),
34+
\item Functions from the \texttt{stdio.h} header file (e.g. \funnm{fopen}(),
3535
\funnm{fprintf}(), and \funnm{fscanf}()), and their file handle \texttt{FILE}
3636
are defined in the standard \texttt{libc} library and use standard system calls
3737
like \funnm{open}(), \funnm{write}(), and \funnm{read}(). From those functions,

0 commit comments

Comments
 (0)