LibC: Add times stub

This is needed for our openssl port
This commit is contained in:
2025-08-07 02:50:24 +03:00
parent aef9bd6357
commit e17ee831a7
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -45,6 +45,7 @@ set(LIBC_SOURCES
sys/stat.cpp
sys/statvfs.cpp
sys/time.cpp
sys/times.cpp
sys/uio.cpp
sys/utsname.cpp
sys/wait.cpp
+9
View File
@@ -0,0 +1,9 @@
#include <sys/times.h>
#include <BAN/Assert.h>
clock_t times(struct tms* buffer)
{
(void)buffer;
ASSERT_NOT_REACHED();
}