summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/getdents.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-12-11 16:51:08 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-11 16:51:08 -0500
commit17c6ad6a01a7ace26decff61b20bdada797ed782 (patch)
tree03fae4f8f30ceee2a6691fc3cc001019c31c099b /cpukit/libcsupport/src/getdents.c
parentlibcsupport: GCI Doxygen Task #7 (diff)
downloadrtems-17c6ad6a01a7ace26decff61b20bdada797ed782.tar.bz2
libcsupport: Doxygen enhancement GCI task #4
http://www.google-melange.com/gci/task/view/google/gci2012/8009205
Diffstat (limited to 'cpukit/libcsupport/src/getdents.c')
-rw-r--r--cpukit/libcsupport/src/getdents.c22
1 files changed, 14 insertions, 8 deletions
diff --git a/cpukit/libcsupport/src/getdents.c b/cpukit/libcsupport/src/getdents.c
index 4f68240512..9e26a3cc2d 100644
--- a/cpukit/libcsupport/src/getdents.c
+++ b/cpukit/libcsupport/src/getdents.c
@@ -1,12 +1,11 @@
-/*
- * getdents() - Get Directory Entries
- *
- * SVR4 and SVID extension required by Newlib readdir() family.
- *
- * This routine will dd_len / (sizeof dirent) directory entries relative to
- * the current directory position index. These entries will be placed in
- * character array pointed to by -dd_buf-
+/**
+ * @file
*
+ * @brief Get Directory Entries
+ * @ingroup libcsupport
+ */
+
+/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
@@ -24,6 +23,13 @@
#include <rtems/libio_.h>
#include <rtems/seterr.h>
+/**
+ * SVR4 and SVID extension required by Newlib readdir() family.
+ *
+ * This routine will dd_len / (sizeof dirent) directory entries relative to
+ * the current directory position index. These entries will be placed in
+ * character array pointed to by -dd_buf-
+ */
int getdents(
int dd_fd,
char *dd_buf,