2 * Copyright 2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
9 #include "posix_error_mapper.h"
12 WRAPPER_FUNCTION(int, clock_nanosleep
,
13 (clockid_t clockID
, int flags
, const struct timespec
* time
,
14 struct timespec
* remainingTime
),
15 return B_TO_POSITIVE_ERROR(sReal_clock_nanosleep(clockID
, flags
, time
,
20 WRAPPER_FUNCTION(int, clock_getcpuclockid
,
21 (pid_t pid
, clockid_t
* _clockID
),
22 return B_TO_POSITIVE_ERROR(sReal_clock_getcpuclockid(pid
, _clockID
));