diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 09:03:26 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 09:03:26 -0400 |
commit | cdcd1977d7b8d8f92a950777462e3d02af90a6bc (patch) | |
tree | 8befb214e2570d7914cf7ab54097877708e39765 /src/sys | |
parent | 014a49e4aee821ca3490f318ce6d875942f4018f (diff) |
implement as syscall
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/times/times.c | 5 |
1 files changed, 3 insertions, 2 deletions
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) */ |