1
0
mirror of https://github.com/dhil/phd-dissertation synced 2026-03-13 11:08:25 +00:00

Putc => Write. Don't mention file descriptors.

This commit is contained in:
2020-10-07 21:19:05 +01:00
parent e08923dadc
commit f605fb78f2
2 changed files with 4 additions and 4 deletions

View File

@@ -343,7 +343,7 @@
\newcommand{\Putc}{\dec{Putc}}
\newcommand{\putc}{\dec{putc}}
\newcommand{\UFile}{\dec{File}}
\newcommand{\UFD}{\dec{FileDescr}}
\newcommand{\UFD}{\dec{INumber}}
\newcommand{\fwrite}{\dec{fwrite}}
\newcommand{\iter}{\dec{iter}}
\newcommand{\stdout}{\dec{stdout}}

View File

@@ -2057,11 +2057,11 @@ operation $\Write$ for writing a list of characters to the file.
\BIO \defas \{\Write : \Record{\UFD;\String} \opto \UnitType\}
\]
%
The operation is parameterised by a file descriptor ($\UFD$) and a
character. We will leave the file descriptor type abstract until
The operation is parameterised by an $\UFD$ and a character
sequence. We will leave the $\UFD$ type abstract until
Section~\ref{sec:tiny-unix-io}, however, we will assume the existence
of a term $\stdout : \UFD$ such that we perform invocations of
$\Putc$.
$\Write$.
%
Let us define a suitable handler for this operation.
%