summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/__times.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-12-15 07:23:36 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-15 07:23:36 -0500
commitcefc9aea6b8ccb5f634ba5d0389a44bbe180f0ca (patch)
tree2976d3a597b5c6367f1769a2942dd79bdce8d277 /cpukit/libcsupport/src/__times.c
parentdosfs: Avoid error caused by bdbuf configuration (diff)
downloadrtems-cefc9aea6b8ccb5f634ba5d0389a44bbe180f0ca.tar.bz2
libcsupport: Doxygen Enhancement Task #8
http://www.google-melange.com/gci/task/view/google/gci2012/7996208
Diffstat (limited to '')
-rw-r--r--cpukit/libcsupport/src/__times.c26
1 files changed, 14 insertions, 12 deletions
diff --git a/cpukit/libcsupport/src/__times.c b/cpukit/libcsupport/src/__times.c
index 097cc9fe63..d941f933db 100644
--- a/cpukit/libcsupport/src/__times.c
+++ b/cpukit/libcsupport/src/__times.c
@@ -1,6 +1,11 @@
-/*
- * times() - POSIX 1003.1b 4.5.2 - Get Process Times
+/**
+ * @file
*
+ * @brief Get Process Times
+ * @ingroup libcsupport
+ */
+
+/*
* COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
@@ -24,6 +29,9 @@
#include <rtems/score/timestamp.h>
#endif
+/**
+ * POSIX 1003.1b 4.5.2 - Get Process Times
+ */
clock_t _times(
struct tms *ptms
)
@@ -79,12 +87,9 @@ clock_t _times(
return ticks;
}
-/*
- * times()
- *
+/**
* times() system call wrapper for _times() above.
*/
-
clock_t times(
struct tms *ptms
)
@@ -92,16 +97,13 @@ clock_t times(
return _times( ptms );
}
-/*
- * _times_r
- *
- * This is the Newlib dependent reentrant version of times().
- */
-
#if defined(RTEMS_NEWLIB)
#include <reent.h>
+/**
+ * This is the Newlib dependent reentrant version of times().
+ */
clock_t _times_r(
struct _reent *ptr __attribute__((unused)),
struct tms *ptms