Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
c1b39b203dc3614469f2581fa4d6146cf0ac2af0
/
.
/
src
/
time
/
clock_getcpuclockid.c
blob: 723840b00830c22517fd00224feb55544e50e916 [
file
] [
log
] [
blame
]
#include
<time.h>
#include
<errno.h>
#include
<unistd.h>
#include
"syscall.h"
int
clock_getcpuclockid
(
pid_t
pid
,
clockid_t
*
clk
)
{
if
(
pid
&&
pid
!=
getpid
())
return
EPERM
;
*
clk
=
CLOCK_PROCESS_CPUTIME_ID
;
return
0
;
}