From 3e09037780ca95633749be3acd52e817eed7f98c Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 24 Aug 2023 19:10:35 +0200 Subject: libc: get most of binutils to compile --- src/libc/include/utime.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/libc/include/utime.h (limited to 'src/libc/include/utime.h') diff --git a/src/libc/include/utime.h b/src/libc/include/utime.h new file mode 100644 index 0000000..4ae34ed --- /dev/null +++ b/src/libc/include/utime.h @@ -0,0 +1,9 @@ +#pragma once +#include + +struct utimbuf { + time_t actime; + time_t modtime; +}; + +int utime(const char *fn, const struct utimbuf *times); -- cgit v1.2.3