mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 07:23:34 +08:00
Add support for dup2'ing files. Infrastructure and ROMFS done. Still need FAT, BINFS, NXFFS, and NFS
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5516 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -3929,3 +3929,14 @@
|
||||
need to.
|
||||
* sched/sched_waitid.c and sched_wait.c: Add support for waitid()
|
||||
and wait(). See issues with waitpid() above.
|
||||
* include/nuttx/fs/fs.h and fs/fs_files.c: Add a dup() method to
|
||||
the struct mountpt_operations. When dup'ing a file that resides
|
||||
on a mounted volume, let the file system's dup() method do the
|
||||
work.
|
||||
* fs/romfs/fs_romfs.c: Implemented the dup() method for the ROMFS
|
||||
file system.
|
||||
* fs/fat/fs_fat32.c, fs/nxffs/nxffs_initialize, and
|
||||
fs/nfs/nfs_vfsops.c: Add hooks for dup() method (not yet
|
||||
implemented).
|
||||
* fs/romfs: Remove the rf_open flag. It looks good, but actually
|
||||
does nothing.
|
||||
|
||||
Reference in New Issue
Block a user