summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/__gettod.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/__gettod.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 'cpukit/libcsupport/src/__gettod.c')
-rw-r--r--cpukit/libcsupport/src/__gettod.c22
1 files changed, 15 insertions, 7 deletions
diff --git a/cpukit/libcsupport/src/__gettod.c b/cpukit/libcsupport/src/__gettod.c
index a2f9d1052d..73cd04f821 100644
--- a/cpukit/libcsupport/src/__gettod.c
+++ b/cpukit/libcsupport/src/__gettod.c
@@ -1,6 +1,11 @@
-/*
- * gettimeofday() - SVR4 and BSD4.3 extension required by Newlib
+/**
+ * @file
*
+ * @brief Get the Date and Time
+ * @ingroup libcsupport
+ */
+
+/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
@@ -22,8 +27,11 @@
#include <rtems/seterr.h>
#if defined(RTEMS_NEWLIB) && !defined(HAVE_GETTIMEOFDAY)
-/*
- * NOTE: The solaris gettimeofday does not have a second parameter.
+
+/**
+ * SVR4 and BSD4.3 extension required by Newlib
+ *
+ * @note The solaris gettimeofday does not have a second parameter.
*/
int gettimeofday(
struct timeval *tp,
@@ -54,7 +62,7 @@ int gettimeofday(
#include <sys/reent.h>
-/*
+/**
* "Reentrant" version
*/
int _gettimeofday_r(
@@ -68,10 +76,10 @@ int _gettimeofday_r(
#endif
#if defined(RTEMS_NEWLIB) && !defined(HAVE__GETTIMEOFDAY)
-/*
+
+/**
* "System call" version
*/
-
int _gettimeofday(
struct timeval *tp,
struct timezone *tzp