2 * SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags,
3 const struct timespec __user *, rqtp,
4 struct timespec __user *, rmtp)
6 * On successfully sleeping for the requested interval, clock_nanosleep() returns 0.
7 * If the call is interrupted by a signal handler or encounters an error,
8 * then it returns one of the positive error number listed in ERRORS.
14 struct syscallentry syscall_clock_nanosleep
= {
15 .name
= "clock_nanosleep",
17 .arg1name
= "which_clock",
21 .values
= { CLOCK_REALTIME
, CLOCK_MONOTONIC
, CLOCK_PROCESS_CPUTIME_ID
},
27 .values
= { TIMER_ABSTIME
},
30 .arg3type
= ARG_ADDRESS
,
32 .arg4type
= ARG_ADDRESS
,
33 .rettype
= RET_ZERO_SUCCESS
,