diff options
author | Alex Ivanov <alexivanov97@gmail.com> | 2012-12-20 09:45:31 -0600 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-12-20 09:45:31 -0600 |
commit | ef5e4526dcc5e0ad8a33ededb031b55ec1fb604e (patch) | |
tree | 4e7c41687150824dab00588c2f0c7ae4b8c5b1e4 /cpukit/libfs/src/imfs/imfs_directory.c | |
parent | libfs: Doxygen Enhancement Task #6" (diff) | |
download | rtems-ef5e4526dcc5e0ad8a33ededb031b55ec1fb604e.tar.bz2 |
libfs: Doxygen Enhancement Task #1
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs_directory.c')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_directory.c | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_directory.c b/cpukit/libfs/src/imfs/imfs_directory.c index 99d990d24f..c344af4cd7 100644 --- a/cpukit/libfs/src/imfs/imfs_directory.c +++ b/cpukit/libfs/src/imfs/imfs_directory.c @@ -1,6 +1,11 @@ -/* - * IMFS Directory Access Routines +/** + * @file * + * @brief IMFS Read Next Directory + * @ingroup IMFS + */ + +/* * COPYRIGHT (c) 1989-1999. * On-Line Applications Research Corporation (OAR). * @@ -18,21 +23,6 @@ #include <string.h> #include <dirent.h> -/* - * imfs_dir_read - * - * This routine will read the next directory entry based on the directory - * offset. The offset should be equal to -n- time the size of an individual - * dirent structure. If n is not an integer multiple of the sizeof a - * dirent structure, an integer division will be performed to determine - * directory entry that will be returned in the buffer. Count should reflect - * -m- times the sizeof dirent bytes to be placed in the buffer. - * If there are not -m- dirent elements from the current directory position - * to the end of the exisiting file, the remaining entries will be placed in - * the buffer and the returned value will be equal to -m actual- times the - * size of a directory entry. - */ - ssize_t imfs_dir_read( rtems_libio_t *iop, void *buffer, |