diff options
author | Jesus R. Camou <jcamou@FreeBSD.org> | 2006-03-03 13:58:43 +0000 |
---|---|---|
committer | Jesus R. Camou <jcamou@FreeBSD.org> | 2006-03-03 13:58:43 +0000 |
commit | 68dac191afc1a642bc12e9ac39b057474afc8661 (patch) | |
tree | 7a2c21cff24a855fb4242116b7d5d96808a4cc4a /lib/libc/sys/gettimeofday.2 | |
parent | f051cb85e815754c76718aa4bdf96f1318116a94 (diff) | |
download | src-68dac191afc1a642bc12e9ac39b057474afc8661.tar.gz src-68dac191afc1a642bc12e9ac39b057474afc8661.zip |
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
Notes
Notes:
svn path=/head/; revision=156242
Diffstat (limited to 'lib/libc/sys/gettimeofday.2')
-rw-r--r-- | lib/libc/sys/gettimeofday.2 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index f10425340dce..f6db64c0ec3e 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 { |