Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
linux
/
stime.c
blob: d0e345241154b9b02d8801ba09a93bd175d53d26 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<sys/time.h>
#include
<time.h>
int
stime
(
const
time_t
*
t
)
{
struct
timeval tv
=
{.
tv_sec
=
*
t
,
.
tv_usec
=
0
};
return
settimeofday
(&
tv
,
(
void
*)
0
);
}