tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] PUFFS backend allocation (round 3)



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

   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.


Home | Main Index | Thread Index | Old Index