From 07b635386da6ed220d4f5c2a36f7e869b4e5b2a5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 3 Aug 2012 19:11:11 +0000 Subject: 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 --- nuttx/fs/fs_filedup.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'nuttx/fs/fs_filedup.c') 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 * * 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(). * ****************************************************************************/ -- cgit v1.2.3