From cefc9aea6b8ccb5f634ba5d0389a44bbe180f0ca Mon Sep 17 00:00:00 2001 From: Alex Ivanov Date: Sat, 15 Dec 2012 07:23:36 -0500 Subject: libcsupport: Doxygen Enhancement Task #8 http://www.google-melange.com/gci/task/view/google/gci2012/7996208 --- cpukit/libcsupport/src/stat.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'cpukit/libcsupport/src/stat.c') 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 +/** + * 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 +/** + * This is the Newlib dependent reentrant version of stat() and lstat(). + */ int _STAT_R_NAME( struct _reent *ptr __attribute__((unused)), const char *path, -- cgit v1.2.3