Skip to content

Commit 5184505

Browse files
committed
Improved language.
1 parent 1cbfadc commit 5184505

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proc.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,9 +1115,9 @@
11151115
however it is not possible to write beyond the end of the file and thus
11161116
extend the file - the process would otherwise receive the \texttt{SIGBUS} or
11171117
\texttt{SIGSEGV} signal, see example \example{mmap/lseek.c}.
1118-
The signal is also received when attempting to write to file mapped read-only.
1119-
(this makes sense, the assignment does not have a return value which can be
1120-
tested)
1118+
The signal is also received when attempting to write to a file mapped read-only
1119+
-- and that makes sense as there is no way to indicate (and test) a failed
1120+
assignment operation.
11211121
\item the mapping is done in whole pages, the \texttt{off} values have to
11221122
be aligned correctly (also when using \texttt{MAP\_FIXED} the \texttt{addr}).
11231123
Last page after the end of file is padded with zeroes and this section is

0 commit comments

Comments
 (0)