meta: move photon/libc to root
This commit is contained in:
12
libc/time/time.c
Normal file
12
libc/time/time.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <time.h>
|
||||
#include <__time.h>
|
||||
|
||||
time_t time(time_t *p)
|
||||
{
|
||||
time_t out = __sys_time();
|
||||
if (p) {
|
||||
*p = out;
|
||||
}
|
||||
|
||||
return out;
|
||||
}
|
||||
Reference in New Issue
Block a user