repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
some coverity fixes.
[minix.git]
/
lib
/
libc
/
sys-minix
/
stime.c
blob
024e23b41fff6670e6e7f6e7e7e6ed5cecd5fb8d
1
#include <sys/cdefs.h>
2
#include <lib.h>
3
#include
"namespace.h"
4
5
#include <time.h>
6
7
#ifdef __weak_alias
8
__weak_alias
(
stime
,
_stime
)
9
#endif
10
11
int
stime
(
long
*
top
)
12
{
13
message m
;
14
15
m
.
m2_l1
= *
top
;
16
return
(
_syscall
(
PM_PROC_NR
,
STIME
, &
m
));
17
}