unistd.h: use long in read() and write() prototypes
[neatlibc.git] / time.h
blobb6756016e9028a4863014077b7cf8f5401f9a104
1 struct timespec {
2 long tv_sec;
3 long tv_nsec;
4 };
6 int nanosleep(struct timespec *req, struct timespec *rem);
8 struct tm {
9 int tm_sec;
10 int tm_min;
11 int tm_hour;
12 int tm_mday;
13 int tm_mon;
14 int tm_year;
15 int tm_wday;
16 int tm_yday;
17 int tm_isdst;
18 long tm_gmtoff;
19 char *tm_zone;
22 long time(long *timep);
23 int strftime(char *s, int len, char *fmt, struct tm *tm);
24 struct tm *localtime(long *timep);
25 struct tm *gmtime(long *timep);
27 extern long timezone;
28 void tzset(void);