aboutsummaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/fs/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/nuttx/fs/ioctl.h')
-rw-r--r--nuttx/include/nuttx/fs/ioctl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/fs/ioctl.h b/nuttx/include/nuttx/fs/ioctl.h
index 6d60c2ee9..a15de03b9 100644
--- a/nuttx/include/nuttx/fs/ioctl.h
+++ b/nuttx/include/nuttx/fs/ioctl.h
@@ -105,6 +105,11 @@
#define FIOC_OPTIMIZE _FIOC(0x0003) /* IN: None
* OUT: None
*/
+#define FIOC_FILENAME _FIOC(0x0004) /* IN: FAR const char ** pointer
+ * OUT: Pointer to a persistent file name
+ * (Guaranteed to persist while the file
+ * is open).
+ */
#define FIONREAD _FIOC(0x0004) /* IN: Location to return value (int *)
* OUT: Bytes readable from this fd