aboutsummaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_filedup.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-03 19:11:11 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-03 19:11:11 +0000
commit07b635386da6ed220d4f5c2a36f7e869b4e5b2a5 (patch)
treeda55e9fab23eebbf67c222daf2efe23f93daf1ec /nuttx/fs/fs_filedup.c
parentfe26494ea8673246adda770689a8dea11176a47d (diff)
downloadpx4-firmware-07b635386da6ed220d4f5c2a36f7e869b4e5b2a5.tar.gz
px4-firmware-07b635386da6ed220d4f5c2a36f7e869b4e5b2a5.tar.bz2
px4-firmware-07b635386da6ed220d4f5c2a36f7e869b4e5b2a5.zip
Add capability to traverse inodes in the NuttX psuedo-filesystem
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5004 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/fs/fs_filedup.c')
-rw-r--r--nuttx/fs/fs_filedup.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/fs/fs_filedup.c b/nuttx/fs/fs_filedup.c
index d074b3fab..b7eeb7add 100644
--- a/nuttx/fs/fs_filedup.c
+++ b/nuttx/fs/fs_filedup.c
@@ -1,7 +1,7 @@
/****************************************************************************
* fs/fs_filedup.c
*
- * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -68,10 +68,11 @@
* Name: file_dup OR dup
*
* Description:
- * Clone a file descriptor to an arbitray descriptor number. If socket
- * descriptors are implemented, then this is called by dup() for the case
- * of file descriptors. If socket descriptors are not implemented, then
- * this function IS dup().
+ * Clone a file descriptor 'fd' to an arbitray descriptor number (any value
+ * greater than or equal to 'minfd'). If socket descriptors are
+ * implemented, then this is called by dup() for the case of file
+ * descriptors. If socket descriptors are not implemented, then this
+ * function IS dup().
*
****************************************************************************/