diff options
author | Alex Ivanov <alexivanov97@gmail.com> | 2012-12-11 06:49:45 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2012-12-11 06:49:45 -0500 |
commit | c9bb60a94cf2c11d16d8d15f16e079b84d0e7b6d (patch) | |
tree | 32c279a6df64cd03ba91aeb0e6916f18a257c9fa /cpukit/libcsupport/src/readdir_r.c | |
parent | libcsupport: Doxygen enhancement task #5 (diff) | |
download | rtems-c9bb60a94cf2c11d16d8d15f16e079b84d0e7b6d.tar.bz2 |
libcsupport: GCI Doxygen Task #7
http://www.google-melange.com/gci/task/view/google/gci2012/7975223
Diffstat (limited to 'cpukit/libcsupport/src/readdir_r.c')
-rw-r--r-- | cpukit/libcsupport/src/readdir_r.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/cpukit/libcsupport/src/readdir_r.c b/cpukit/libcsupport/src/readdir_r.c index 28c6dadfe0..ba0e53af92 100644 --- a/cpukit/libcsupport/src/readdir_r.c +++ b/cpukit/libcsupport/src/readdir_r.c @@ -1,5 +1,8 @@ -/* - * readdir_r - reentrant version of readdir() +/** + * @file + * + * @brief Read a Directory + * @ingroup libcsupport */ #if HAVE_CONFIG_H @@ -13,10 +16,10 @@ #include <errno.h> #include <stdio.h> -/* - * The RTEMS version of readdir is already thread-safe. +/** + * The RTEMS version of readdir is already thread-safe. + * This routine is reentrant version of readdir(). */ - int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result) { *result = readdir(dirp); |