summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/__sys.x86-32.s (renamed from src/_sys.x86-32.s)0
-rw-r--r--src/__sys.x86-64.s (renamed from src/_sys.x86-64.s)0
-rw-r--r--src/sys/times/times.c5
3 files changed, 3 insertions, 2 deletions
diff --git a/src/_sys.x86-32.s b/src/__sys.x86-32.s
index ad60201d..ad60201d 100644
--- a/src/_sys.x86-32.s
+++ b/src/__sys.x86-32.s
diff --git a/src/_sys.x86-64.s b/src/__sys.x86-64.s
index 415a8084..415a8084 100644
--- a/src/_sys.x86-64.s
+++ b/src/__sys.x86-64.s
diff --git a/src/sys/times/times.c b/src/sys/times/times.c
index 753d66ae..f677d3b4 100644
--- a/src/sys/times/times.c
+++ b/src/sys/times/times.c
@@ -1,11 +1,12 @@
#include "time.h"
#include <sys/times.h>
+#include "_syscall.h"
clock_t times(struct tms *buffer)
{
- (void)buffer;
- return (clock_t)-1;
+ SYSCALL(times, clock_t, -1, buffer, 0, 0, 0, 0, 0);
}
+
/*
POSIX(1)
*/