mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
3a0a8848fb
Old: Syscall::invoke(Syscall::SC_foo, (dword)arg1, (dword)arg2) New: syscall(SC_foo, arg1, arg2)
9 lines
189 B
C++
9 lines
189 B
C++
#include <sys/times.h>
|
|
#include <errno.h>
|
|
#include <Kernel/Syscall.h>
|
|
|
|
clock_t times(struct tms* buf)
|
|
{
|
|
int rc = syscall(SC_times, buf);
|
|
__RETURN_WITH_ERRNO(rc, rc, (clock_t)-1);
|
|
}
|