mailing list of musl libc
 help / color / mirror / code / Atom feed
ea510a665aef4ff98f90805c7b82bb56dd757d4f blob 295 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)
{
	if (clk == CLOCK_THREAD_CPUTIME_ID) return EINVAL;
	return -__syscall_cp(SYS_clock_nanosleep, clk, flags, req, rem);
}
debug log:

solving ea510a6 ...
found ea510a6 in https://inbox.vuxu.org/musl/20160917143644.3654-1-dsabogalcc@gmail.com/
found ec87b9e in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 ec87b9e33252c8f0a1cb9f04794c2365354f74db	src/time/clock_nanosleep.c

applying [1/1] https://inbox.vuxu.org/musl/20160917143644.3654-1-dsabogalcc@gmail.com/
diff --git a/src/time/clock_nanosleep.c b/src/time/clock_nanosleep.c
index ec87b9e..ea510a6 100644

Checking patch src/time/clock_nanosleep.c...
Applied patch src/time/clock_nanosleep.c cleanly.

index at:
100644 ea510a665aef4ff98f90805c7b82bb56dd757d4f	src/time/clock_nanosleep.c

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).