Sign in
◑
Theme
cobalt
/
cobalt.git
/
b48d5d342d8a80b19c4a69b353cdb8fdc6ab3789
/
.
/
third_party
/
musl
/
src
/
linux
/
stime.c
blob: 7d0443ba3b668b80d0240964c784f8e78c1e6a84 [
file
]
#define
_GNU_SOURCE
#include
<time.h>
#include
<sys/time.h>
int
stime
(
const
time_t
*
t
)
{
struct
timeval tv
=
{
.
tv_sec
=
*
t
,
.
tv_usec
=
0
};
return
settimeofday
(&
tv
,
(
void
*)
0
);
}