title: Do I need to flush named pipes?
body: <p>I cannot find whether named pipes are buffered, hence the question.</p>
  
  <p>The manpage says <a href="https://linux.die.net/man/3/mkfifo" rel="nofollow noreferrer">https://linux.die.net/man/3/mkfifo</a>:</p>
  
  <blockquote>
    <p>A FIFO special file is similar to a pipe ... any process can open it for reading or writing, in the same way as an ordinary file. </p>
  </blockquote>
  
  <p>Pipes are not buffered, no need to flush. But in a ordinary file, I would fflush (or fsync) the file descriptor. </p>
  
  <p>How about named pipe?</p>