summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjcamou <jcamou@FreeBSD.org>2006-03-03 13:58:43 +0000
committerjcamou <jcamou@FreeBSD.org>2006-03-03 13:58:43 +0000
commit44dc71d01c2239d95575519c8ec0be777d7d9546 (patch)
tree7a2c21cff24a855fb4242116b7d5d96808a4cc4a /lib/libc
parent8e5a8ec53bc22b0b2b0708d25898254255f22db1 (diff)
downloadFreeBSD-src-44dc71d01c2239d95575519c8ec0be777d7d9546.zip
FreeBSD-src-44dc71d01c2239d95575519c8ec0be777d7d9546.tar.gz
Sync with actual code.
PR: docs/87681 Noticed by: Andreas Kohn <andreas@syndrom23.de> Reviewed by: brooks Approved by: trhodes (mentor) MFC after: 3 days
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/gettimeofday.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2
index f104253..f6db64c 100644
--- a/lib/libc/sys/gettimeofday.2
+++ b/lib/libc/sys/gettimeofday.2
@@ -82,8 +82,12 @@ as:
.Pp
.Bd -literal
struct timeval {
- long tv_sec; /* seconds since Jan. 1, 1970 */
- long tv_usec; /* and microseconds */
+#ifdef __alpha__
+ long tv_sec; /* seconds */
+#else
+ time_t tv_sec; /* seconds */
+#endif
+ suseconds_t tv_usec; /* and microseconds */
};
struct timezone {
OpenPOWER on IntegriCloud