mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
9 lines
189 B
C++
9 lines
189 B
C++
#include <Kernel/Syscall.h>
|
|
#include <errno.h>
|
|
#include <sys/times.h>
|
|
|
|
clock_t times(struct tms* buf)
|
|
{
|
|
int rc = syscall(SC_times, buf);
|
|
__RETURN_WITH_ERRNO(rc, rc, (clock_t)-1);
|
|
}
|