projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
src
/
linux
/
stime.c
1
#include <sys/time.h>
2
3
int stime(time_t *t)
4
{
5
struct timeval tv = { .tv_sec = *t, .tv_usec = 0 };
6
return settimeofday(&tv, (void *)0);
7
}