63 |
} |
} |
64 |
|
|
65 |
#if ! defined (HAVE_GETTIMEOFDAY) && defined (HAVE_TIMEVAL) |
#if ! defined (HAVE_GETTIMEOFDAY) && defined (HAVE_TIMEVAL) |
66 |
|
|
67 |
/* ARGSUSED */ |
/* ARGSUSED */ |
68 |
gettimeofday (tp, tzp) |
gettimeofday (tp, tzp) |
69 |
struct timeval *tp; |
struct timeval *tp; |
71 |
{ |
{ |
72 |
extern long time (); |
extern long time (); |
73 |
|
|
74 |
tp->tv_sec = time ((long *)0); |
tp->tv_sec = time ((long *)0); |
75 |
tp->tv_usec = 0; |
tp->tv_usec = 0; |
76 |
if (tzp != 0) |
if (tzp != 0) |
77 |
tzp->tz_minuteswest = -1; |
tzp->tz_minuteswest = -1; |
78 |
} |
} |
79 |
|
|
80 |
#endif |
#endif |
81 |
|
|
82 |
int |
int |