mailing list of musl libc
 help / color / mirror / code / Atom feed
9e4d9f1f4bf8ca4960114c5b8c6cfd9f6ecf95d9 blob 297 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 
#include <time.h>
#include <errno.h>
#include "syscall.h"
#include "libc.h"

int clock_nanosleep(clockid_t clk, int flags, const struct timespec *req, struct timespec *rem)
{
	int r = -__syscall_cp(SYS_clock_nanosleep, clk, flags, req, rem);
	return clk == CLOCK_THREAD_CPUTIME_ID ? EINVAL : r;
}
debug log:

solving 9e4d9f1 ...
found 9e4d9f1 in https://git.vuxu.org/mirror/musl/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).