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 | |
| parent | f051cb85e815754c76718aa4bdf96f1318116a94 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -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 { |
