Searched defs:vfs_file_ops (Results 1 – 1 of 1) sorted by relevance
/AliOS-Things-master/components/vfs/include/ |
A D | vfs_types.h | 90 struct vfs_file_ops { struct 91 int32_t (*open) (vfs_inode_t *node, vfs_file_t *fp); 92 int32_t (*close) (vfs_file_t *fp); 93 int32_t (*read) (vfs_file_t *fp, void *buf, uint32_t nbytes); 94 int32_t (*write) (vfs_file_t *fp, const void *buf, uint32_t nbytes); 95 int32_t (*ioctl) (vfs_file_t *fp, int32_t cmd, uint32_t arg); 96 int32_t (*poll) (vfs_file_t *fp, int32_t flag, vfs_poll_notify_t notify, void *fds, void *arg); 97 uint32_t (*lseek) (vfs_file_t *fp, int64_t off, int32_t whence); 99 void* (*mmap)(vfs_file_t *fp, void *addr, size_t length, int prot, int flags,
|
Completed in 4 milliseconds