repo.or.cz
/
neatlibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
unistd.c: include stdlib.h
[neatlibc.git]
/
time.h
blob
b6756016e9028a4863014077b7cf8f5401f9a104
1
struct
timespec
{
2
long
tv_sec
;
3
long
tv_nsec
;
4
};
5
6
int
nanosleep
(
struct
timespec
*
req
,
struct
timespec
*
rem
);
7
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
;
20
};
21
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
);
26
27
extern
long
timezone
;
28
void
tzset
(
void
);