summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-05 20:01:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-05 20:01:43 +0000
commit1f8899bbb98173dc72daba93b77a80aa7162c5d5 (patch)
treecd1dad6b6851e791f4a551c8e95b870496d610a8 /nuttx/include
parentfe8430b28928dd36a9d881b4f02ce56d91dec6a0 (diff)
downloadpx4-nuttx-1f8899bbb98173dc72daba93b77a80aa7162c5d5.tar.gz
px4-nuttx-1f8899bbb98173dc72daba93b77a80aa7162c5d5.tar.bz2
px4-nuttx-1f8899bbb98173dc72daba93b77a80aa7162c5d5.zip
Add NXFFS ioctls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3566 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/ioctl.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/ioctl.h b/nuttx/include/nuttx/ioctl.h
index 5eaf886c8..0c32004f8 100644
--- a/nuttx/include/nuttx/ioctl.h
+++ b/nuttx/include/nuttx/ioctl.h
@@ -94,17 +94,21 @@
* return (void*) base address
* of file
*/
+#define FIOC_REFORMAT _FIOC(0x0002) /* IN: None
+ * OUT: None
+ */
+
/* NuttX file system ioctl definitions */
#define _DIOCVALID(c) (_IOC_TYPE(c)==_DIOCBASE)
#define _DIOC(nr) _IOC(_DIOCBASE,nr)
-#define DIOC_GETPRIV _DIOC(0x0001) /* IN: Location to return handle (void **)
+#define DIOC_GETPRIV _DIOC(0x0001) /* IN: Location to return handle (void **)
* OUT: Reference to internal data
* structure. May have a reference
* incremented.
*/
-#define DIOC_RELPRIV _DIOC(0x0003) /* IN: None
+#define DIOC_RELPRIV _DIOC(0x0003) /* IN: None
* OUT: None, reference obtained by
* FIOC_GETPRIV released.
*/