FileSystem.write

Write data to an open file.

Write should return exactly the number of bytes requested except on error. An exception to this is when the 'direct_io' mount option is specified (see read operation).

Unless FUSE_CAP_HANDLE_KILLPRIV is disabled, this method is expected to reset the setuid and setgid bits.

class FileSystem
@null
int
write
(
string path
,
const ubyte* data
,
size_t size
,
off_t off
,)

Meta