title: How to avoid blocking read() from named pipe after it closes
body: <p>I have two processes created with named pipe. The writer process writes a message using write(), and the reader process reads the message with read(). I noticed that read() blocks when the writer closes the pipe. Is that possible to let writer process sends EOF before closing the pipe so that the reader will not be blocked?</p>