mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
fs.h: fix a comment in file_operations
This commit is contained in:
committed by
Xiang Xiao
parent
d4bbbe0d0b
commit
03b0b05c69
@@ -225,10 +225,11 @@ struct file_operations
|
|||||||
FAR struct mm_map_entry_s *map);
|
FAR struct mm_map_entry_s *map);
|
||||||
CODE int (*truncate)(FAR struct file *filep, off_t length);
|
CODE int (*truncate)(FAR struct file *filep, off_t length);
|
||||||
|
|
||||||
/* The two structures need not be common after this point */
|
|
||||||
|
|
||||||
CODE int (*poll)(FAR struct file *filep, FAR struct pollfd *fds,
|
CODE int (*poll)(FAR struct file *filep, FAR struct pollfd *fds,
|
||||||
bool setup);
|
bool setup);
|
||||||
|
|
||||||
|
/* The two structures need not be common after this point */
|
||||||
|
|
||||||
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
||||||
CODE int (*unlink)(FAR struct inode *inode);
|
CODE int (*unlink)(FAR struct inode *inode);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user