From 112eafe13c3628cad6e692179c064dbbc3be2d8b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 9 Jun 2023 17:22:31 +0200 Subject: ports/dash: stub out everything needed for dash to compile --- src/user/lib/include/sys/times.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/user/lib/include/sys/times.h (limited to 'src/user/lib/include/sys/times.h') diff --git a/src/user/lib/include/sys/times.h b/src/user/lib/include/sys/times.h new file mode 100644 index 0000000..4a8d3ef --- /dev/null +++ b/src/user/lib/include/sys/times.h @@ -0,0 +1,13 @@ +#pragma once +#include + +struct tms { + clock_t tms_utime; + clock_t tms_stime; + clock_t tms_cutime; + clock_t tms_cstime; +}; + +static inline clock_t times(struct tms *buf) { + __libc_panic("unimplemented"); +} -- cgit v1.2.3