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

void(* fuse_lowlevel_ops::readdir)(fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi)

Read directory

Send a buffer filled using fuse_add_dirent(), with size not exceeding the requested size. Send an empty buffer on end of stream.

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

Valid replies: fuse_reply_buf fuse_reply_err

Parameters:
req request handle
ino the inode number
size maximum number of bytes to send
off offset to continue reading the directory stream
fi file information


Generated by  Doxygen 1.6.0   Back to index