FreeBSD/Linux Kernel Cross Reference
sys/include/sys/time.h
1 /*
2 sys/time.h
3 */
4
5 #ifndef _SYS__TIME_H
6 #define _SYS__TIME_H
7
8 #include <ansi.h>
9
10 /* Open Group Base Specifications Issue 6 (not complete) */
11 struct timeval
12 {
13 long /*time_t*/ tv_sec;
14 long /*useconds_t*/ tv_usec;
15 };
16
17 int gettimeofday(struct timeval *_RESTRICT tp, void *_RESTRICT tzp);
18
19 /* Compatibility with other Unix systems */
20 int settimeofday(const struct timeval *tp, const void *tzp);
21
22 #endif /* _SYS__TIME_H */
Cache object: abb61b49479e75871010f4835fb696b9
|