LibC: Add times stub

This is needed for our openssl port
This commit is contained in:
Bananymous 2025-08-07 01:54:55 +03:00
parent aef9bd6357
commit e17ee831a7
2 changed files with 10 additions and 0 deletions

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

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();
}