mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 01:34:58 +08:00
fs: procfs add poll support
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
@@ -177,6 +177,7 @@ const struct procfs_operations g_smartfs_operations =
|
||||
/* No write supported */
|
||||
|
||||
smartfs_write, /* write */
|
||||
NULL, /* poll */
|
||||
|
||||
smartfs_dup, /* dup */
|
||||
|
||||
|
||||
@@ -142,6 +142,7 @@ const struct mountpt_operations g_smartfs_operations =
|
||||
smartfs_ioctl, /* ioctl */
|
||||
NULL, /* mmap */
|
||||
smartfs_truncate, /* truncate */
|
||||
NULL, /* poll */
|
||||
|
||||
smartfs_sync, /* sync */
|
||||
smartfs_dup, /* dup */
|
||||
|
||||
Reference in New Issue
Block a user