forked from Bananymous/banan-os
LibC: Add times stub
This is needed for our openssl port
This commit is contained in:
@@ -45,6 +45,7 @@ set(LIBC_SOURCES
|
|||||||
sys/stat.cpp
|
sys/stat.cpp
|
||||||
sys/statvfs.cpp
|
sys/statvfs.cpp
|
||||||
sys/time.cpp
|
sys/time.cpp
|
||||||
|
sys/times.cpp
|
||||||
sys/uio.cpp
|
sys/uio.cpp
|
||||||
sys/utsname.cpp
|
sys/utsname.cpp
|
||||||
sys/wait.cpp
|
sys/wait.cpp
|
||||||
|
|||||||
9
userspace/libraries/LibC/sys/times.cpp
Normal file
9
userspace/libraries/LibC/sys/times.cpp
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#include <sys/times.h>
|
||||||
|
|
||||||
|
#include <BAN/Assert.h>
|
||||||
|
|
||||||
|
clock_t times(struct tms* buffer)
|
||||||
|
{
|
||||||
|
(void)buffer;
|
||||||
|
ASSERT_NOT_REACHED();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user