CS350 COS
COS
Loading...
Searching...
No Matches
time.h
Go to the documentation of this file.
1
2
#ifndef __SYS_TIME_H__
3
#define __SYS_TIME_H__
4
5
#include <sys/types.h>
6
7
struct
timeval
8
{
9
time_t
tv_sec
;
10
suseconds_t
tv_usec
;
11
};
12
13
struct
timezone
{
14
int
tz_minuteswest
;
15
int
tz_dsttime
;
16
};
17
18
int
gettimeofday
(
struct
timeval
*tv,
struct
timezone
*tz);
19
20
// XXX: Not implemented
21
int
settimeofday
(
const
struct
timeval
*tv,
const
struct
timezone
*tz);
22
23
#endif
/* __SYS_TIME_H__ */
24
timezone::tz_minuteswest
int tz_minuteswest
Definition:
time.h:14
settimeofday
int settimeofday(const struct timeval *tv, const struct timezone *tz)
Definition:
time.c:43
timeval::tv_usec
suseconds_t tv_usec
Definition:
time.h:10
timezone::tz_dsttime
int tz_dsttime
Definition:
time.h:15
gettimeofday
int gettimeofday(struct timeval *tv, struct timezone *tz)
Definition:
time.c:32
timeval::tv_sec
time_t tv_sec
Definition:
time.h:9
timeval
Definition:
time.h:8
timezone
Definition:
time.h:13
time_t
uint64_t time_t
Definition:
types.h:25
suseconds_t
uint64_t suseconds_t
Definition:
types.h:26
sys
include
time.h
Generated by
1.9.6