The tv_sec is of type time_t in both struct timeval and struct timespec.
This matches the implementation and also the relevant standard (checked
C11 for timespec and opengroup for timeval).
+2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
+
+ [BZ #17965]
+ * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
+ both struct timeval and struct timespec.
+
2015-02-12 Joseph Myers <joseph@codesourcery.com>
[BZ #16560]
* The following bugs are resolved with this release:
- 4719, 15467, 15790, 16560, 17912, 17932, 17944, 17949.
+ 4719, 15467, 15790, 16560, 17912, 17932, 17944, 17949, 17965.
\f
Version 2.21
declared in @file{sys/time.h} and has the following members:
@table @code
-@item long int tv_sec
+@item time_t tv_sec
This represents the number of whole seconds of elapsed time.
@item long int tv_usec
declared in @file{time.h} and has the following members:
@table @code
-@item long int tv_sec
+@item time_t tv_sec
This represents the number of whole seconds of elapsed time.
@item long int tv_nsec