On Mon, May 23, 2016 at 02:31:18PM +0200, Cedric Blancher wrote: > Nothing in POSIX mandates that read()/write() are atomic. Old UNIX, > SystemV, AIX, Solaris and HP-UX don't do that nor do they guarantee > that. "I/O is intended to be atomic to ordinary files and pipes and FIFOs." Joerg