Date: Wed, 29 Oct 2014 00:11:41 +0000
   From: Emmanuel Dreyfus <m...@netbsd.org>

   Let me rephrase: I call close(), get a error because of a failed
   asynchronous write. The file is not closed, right? Now if I call
   close again, what should happen? Success? 

Nope.  close(2) guarantees the file descriptor is closed, even if it
returns an error.

Reply via email to