fs.h: fix a comment in file_operations

This commit is contained in:
YAMAMOTO Takashi 2024-09-17 17:40:13 +09:00 committed by Xiang Xiao
parent d4bbbe0d0b
commit 03b0b05c69

View File

@ -225,10 +225,11 @@ struct file_operations
FAR struct mm_map_entry_s *map);
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,
bool setup);
/* The two structures need not be common after this point */
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
CODE int (*unlink)(FAR struct inode *inode);
#endif