repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
slightly more accurate and verbose sanity checking
[minix3.git]
/
lib
/
other
/
settimeofday.c
blob
956135a38238775a5b78038f8691553bf124b9df
1
/*
2
settimeofday.c
3
*/
4
5
#define stime _stime
6
7
#include <sys/time.h>
8
#include <time.h>
9
10
int
settimeofday
(
const struct
timeval
*
tp
,
const void
*
tzp
)
11
{
12
/* Ignore time zones */
13
return
stime
(&
tp
->
tv_sec
);
14
}