mirror of
https://github.com/fluencelabs/musl
synced 2025-06-10 13:31:37 +00:00
all return values are valid, and on 32-bit systems, values that look like errors can and will occur. since the only actual error this function could return is EFAULT, and it is only returnable when the application has invoked undefined behavior, simply ignore the possibility that the return value is actually an error code.
8 lines
115 B
C
8 lines
115 B
C
#include <sys/times.h>
|
|
#include "syscall.h"
|
|
|
|
clock_t times(struct tms *tms)
|
|
{
|
|
return __syscall(SYS_times, tms);
|
|
}
|