summaryrefslogtreecommitdiff
path: root/apps/builtin
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-14 15:42:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-14 15:42:03 +0000
commitf3c15e2b0508635898c2c0fcf1564394d8aa8cfc (patch)
treebc136f7b1fa5989900d1b0e856571e51d96998dc /apps/builtin
parent0191f2d9e4a4c9857ee37655dd3da523cf74a48a (diff)
downloadnuttx-f3c15e2b0508635898c2c0fcf1564394d8aa8cfc.tar.gz
nuttx-f3c15e2b0508635898c2c0fcf1564394d8aa8cfc.tar.bz2
nuttx-f3c15e2b0508635898c2c0fcf1564394d8aa8cfc.zip
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
Diffstat (limited to 'apps/builtin')
-rw-r--r--apps/builtin/binfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/builtin/binfs.c b/apps/builtin/binfs.c
index 501f0a4b9..4159c9663 100644
--- a/apps/builtin/binfs.c
+++ b/apps/builtin/binfs.c
@@ -1,7 +1,7 @@
/****************************************************************************
* apps/builtin/binfs.c
*
- * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -118,7 +118,9 @@ const struct mountpt_operations binfs_operations =
NULL, /* write */
NULL, /* seek */
binfs_ioctl, /* ioctl */
+
NULL, /* sync */
+ NULL, /* dup */
binfs_opendir, /* opendir */
NULL, /* closedir */