git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Usermode/init - Fixed bad stderr for 'exec' commands
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libc.so_src
/
time.c
1
/*
2
* Acess2 C Library
3
* - By John Hodge (thePowersGang)
4
*
5
* time.c
6
* - POSIX/stdc time functions
7
*/
8
#include <time.h>
9
#include <acess/sys.h>
10
11
clock_t clock(void)
12
{
13
return _SysTimestamp();
14
}
15
16
time_t time(time_t *t)
17
{
18
time_t ret = _SysTimestamp() / 1000;
19
if(t)
20
*t = ret;
21
return ret;
22
}
UCC
git Repository :: git.ucc.asn.au