diff options
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); |