From cdcd1977d7b8d8f92a950777462e3d02af90a6bc Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 09:03:26 -0400 Subject: implement as syscall --- src/sys/times/times.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sys') 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 +#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) */ -- cgit v1.2.1