Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 12:53:52 +0000
From:      Dieter <>
Subject:   write(2) takes > 17 seconds even with O_NONBLOCK
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
I've always thought that writing to a file descriptor with O_NONBLOCK
set was supposed to return quickly.  Isn't that the whole point of

I have a C program writing to stdout, which is set to O_NONBLOCK,
and the shell redirects stdout to a regular disk file.  Dispite
O_NONBLOCK, my program reports that a write call took 17.701340

Want to link to this message? Use this URL: <>