File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 950950\texttt {fildes[0] } is also open for writing and if \texttt {fildes[1] } is also
951951open for reading. FreeBSD and Solaris provide bidirectional pipes while Linux
952952may not. It is best to assume unidirectional pipes.
953+ \item Writing to a pipe without readers results in the \texttt {SIGPIPE } signal
954+ delivered to the process. The default reaction to that event is process
955+ termination. Example: \example {pipe/broken-pipe.c}
956+ \item Example: \example {pipe/deadlock-in-read.c}
953957\item \emsl {Important:} the same rules applied to reading and writing from/to
954958named pipes stand for unnamed pipes as well, see page \pageref {NAMEDPIPE }.
955- \item Example: \example {pipe/broken-pipe.c}, \example {pipe/deadlock-in-read.c}
956959\end {itemize }
957960
958961% %%%%
You can’t perform that action at this time.
0 commit comments