On Tue, 7 Dec 2021 at 16:38, Edgar Fuß <e...@math.uni-bonn.de> wrote:
>
> Is there a sane way to kill a pipe's head from within the pipe's tail, at 
> least on tail exit? Of course, when the tail exits, the head will get SIGPIPE 
> as soon
> as it tries to output something, but can the tail explicitly kill it earlier?

Can't you just close() the pipe? (or am I missing something obvious :)

David

Reply via email to