Logo Search packages:      
Sourcecode: fuse version File versions  Download package

void(* fuse_lowlevel_ops::write)(fuse_req_t req, fuse_ino_t ino, const char *buf, size_t size, off_t off, struct fuse_file_info *fi)

Write data

Write should return exactly the number of bytes requested except on error. An exception to this is when the file has been opened in 'direct_io' mode, in which case the return value of the write system call will reflect the return value of this operation.

fi->fh will contain the value set by the open method, or will be undefined if the open method didn't set any value.

Valid replies: fuse_reply_write fuse_reply_err

Parameters:
req request handle
ino the inode number
buf data to write
size number of bytes to write
off offset to write to
fi file information


Generated by  Doxygen 1.6.0   Back to index