File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 939939\emsl {successful} \funnm {exec} call.
940940\item Example: \example {pipe/pipe-and-fork.c}
941941\item Closing the writing descriptor \texttt {pd[1] } (see
942- ifdef([[[NOSPELLCHECK]]], [[[
943- {\color [rgb]{1,0,0} $ \triangleright $ })
944- ]]])
945- in the consumer process is required
946- as the EOF would not be detected otherwise.
942+ ifdef([[[NOSPELLCHECK]]], [[[{\color [rgb]{1,0,0} $ \triangleright $ }]]]))
943+ in the consumer process is required as the EOF would not be detected otherwise.
947944\item Closing the reading descriptor \texttt {pd[0] } in the consumer process is
948945desired as well (see
949- ifdef([[[NOSPELLCHECK]]], [[[
950- {\color [rgb]{1,0,0} $ \triangleright $ }
951- ]]])
946+ ifdef([[[NOSPELLCHECK]]], [[[{\color [rgb]{1,0,0} $ \triangleright $ }]]])
952947) as if the consumer finishes prematurely the producer properly gets a
953948\texttt {SIGPIPE }.
954949If that file descriptor in the producer was not closed while the consumer died
You can’t perform that action at this time.
0 commit comments