Subversion Repositories HelenOS-historic

Rev

Rev 1435 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1435 Rev 1449
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#ifndef __libc_TIME_H__
29
#ifndef __libc_TIME_H__
30
#define __libc_TIME_H__
30
#define __libc_TIME_H__
31
 
31
 
32
#include <types.h>
-
 
33
 
-
 
34
#define DST_NONE 0
-
 
35
 
-
 
36
typedef sysarg_t time_t;
-
 
37
typedef sysarg_t suseconds_t;
-
 
38
 
-
 
39
struct timeval {
-
 
40
    time_t         tv_sec;        /* seconds */
-
 
41
    suseconds_t    tv_usec;  /* microseconds */
-
 
42
};
-
 
43
 
-
 
44
struct timezone {
-
 
45
    int  tz_minuteswest; /* minutes W of Greenwich */
-
 
46
    int  tz_dsttime;     /* type of dst correction */
-
 
47
};
-
 
48
 
-
 
49
int gettimeofday(struct timeval *tv, struct timezone *tz);
-
 
50
 
-
 
51
#endif
32
#endif