summaryrefslogtreecommitdiff
path: root/nuttx/include/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/sys/time.h')
-rw-r--r--nuttx/include/sys/time.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/include/sys/time.h b/nuttx/include/sys/time.h
index e9bc3d6b3..972cfaca8 100644
--- a/nuttx/include/sys/time.h
+++ b/nuttx/include/sys/time.h
@@ -51,7 +51,13 @@
/****************************************************************************
* Public Type Definitions
****************************************************************************/
-/* struct timeval is defined in time.h */
+/* struct timeval represents time as seconds plus microseconds */
+
+struct timeval
+{
+ time_t tv_sec; /* Seconds */
+ long tv_usec; /* Microseconds */
+};
/* The use of the struct timezone is obsolete; the tz argument should
* normally be specified as NULL (and is ignored in any event).