Alejandro Martínez lists at ruby-forum.com
Fri Sep 25 00:34:38 MSD 2009

> pwrite() on file system should write all data at once (at least I see it
> for the first time). What file system do you use ?

Return Value
value   pwrite() was successful. The value returned is the number of 
bytes actually written. This number is less than or equal to nbyte.
-1   pwrite() was not successful. The errno global variable is set to 
indicate the error.

I don't see anywhere that the data should be written all at once. If it 
was like that, then why whould it return the bytes written?

> What file system do you use ?

from mount:

/dev/sda6 on /d1 type ext3 (rw)

Thank you for your time.

Alejandro Martínez Lanfranco
Posted via http://www.ruby-forum.com/.

More information about the nginx mailing list