From 253a32e2f9ff1cbb8edbe7c79834a678daebeb93 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 9 Feb 2019 13:14:01 -0500 Subject: merge POSIX.1-1988/1990 --- src/sys/times/struct_tms.c | 12 ++++++++++++ src/sys/times/times.c | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/sys/times/struct_tms.c create mode 100644 src/sys/times/times.c (limited to 'src/sys/times') diff --git a/src/sys/times/struct_tms.c b/src/sys/times/struct_tms.c new file mode 100644 index 00000000..8e70958b --- /dev/null +++ b/src/sys/times/struct_tms.c @@ -0,0 +1,12 @@ +#include + +struct tms { + clock_t tms_utime; + clock_t tms_stime; + clock_t tms_cutime; + clock_t tms_cstime; +}; + +/* +POSIX(1) +*/ diff --git a/src/sys/times/times.c b/src/sys/times/times.c new file mode 100644 index 00000000..753d66ae --- /dev/null +++ b/src/sys/times/times.c @@ -0,0 +1,11 @@ +#include "time.h" +#include + +clock_t times(struct tms *buffer) +{ + (void)buffer; + return (clock_t)-1; +} +/* +POSIX(1) +*/ -- cgit v1.2.1