summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/stat.c')
-rw-r--r--cpukit/libcsupport/src/stat.c25
1 files changed, 15 insertions, 10 deletions
diff --git a/cpukit/libcsupport/src/stat.c b/cpukit/libcsupport/src/stat.c
index 06c3a22b52..e75fdca171 100644
--- a/cpukit/libcsupport/src/stat.c
+++ b/cpukit/libcsupport/src/stat.c
@@ -1,8 +1,11 @@
-/*
- * stat() - POSIX 1003.1b 5.6.2 - Get File Status
- *
- * Reused from lstat().
+/**
+ * @file
*
+ * @brief Get File Status
+ * @ingroup libcsupport
+ */
+
+/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
@@ -31,6 +34,11 @@
#include <rtems/libio_.h>
+/**
+ * POSIX 1003.1b 5.6.2 - Get File Status
+ *
+ * Reused from lstat().
+ */
int _STAT_NAME( const char *path, struct stat *buf )
{
int rv = 0;
@@ -48,16 +56,13 @@ int _STAT_NAME( const char *path, struct stat *buf )
return rv;
}
-/*
- * _stat_r, _lstat_r
- *
- * This is the Newlib dependent reentrant version of stat() and lstat().
- */
-
#if defined(RTEMS_NEWLIB)
#include <reent.h>
+/**
+ * This is the Newlib dependent reentrant version of stat() and lstat().
+ */
int _STAT_R_NAME(
struct _reent *ptr __attribute__((unused)),
const char *path,