mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Add support for dup2'ing files. Infrastructure and ROMFS done. Still need FAT, BINFS, NXFFS, and NFS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5516 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -161,6 +161,7 @@ struct mountpt_operations
|
||||
*/
|
||||
|
||||
int (*sync)(FAR struct file *filp);
|
||||
int (*dup)(FAR const struct file *oldp, FAR struct file *newp);
|
||||
|
||||
/* Directory operations */
|
||||
|
||||
|
||||
+1
-1
@@ -169,7 +169,7 @@ EXTERN int execv(FAR const char *path, FAR char *const argv[]);
|
||||
/* Non-standard functions to manage symbol tables */
|
||||
|
||||
struct symtab_s; /* See include/nuttx/binfmt/symtab.h */
|
||||
EXTERN void exec_getsymtab(FAR struct symtab_s **symtab, FAR int *nsymbols);
|
||||
EXTERN void exec_getsymtab(FAR const struct symtab_s **symtab, FAR int *nsymbols);
|
||||
EXTERN void exec_setsymtab(FAR const struct symtab_s *symtab, int nsymbols);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user