mailing list of musl libc
 help / color / mirror / code / Atom feed
ab110b36c91137d9cd9ebcbe12eed8d7072d64f6 blob 248 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#include "time32.h"
#include <time.h>

int __clock_getres_time32(clockid_t clk, struct timespec32 *ts32)
{
	struct timespec ts;
	int r = clock_getres(clk, &ts);
	if (r) return r;
	ts32->tv_sec = ts.tv_sec;
	ts32->tv_nsec = ts.tv_nsec;
	return 0;
}
debug log:

solving ab110b36 ...
found ab110b36 in https://inbox.vuxu.org/musl/20190802214433.GA25193@brightrain.aerifal.cx/

applying [1/1] https://inbox.vuxu.org/musl/20190802214433.GA25193@brightrain.aerifal.cx/
diff --git a/compat/time32/clock_getres_time32.c b/compat/time32/clock_getres_time32.c
new file mode 100644
index 00000000..ab110b36

Checking patch compat/time32/clock_getres_time32.c...
Applied patch compat/time32/clock_getres_time32.c cleanly.

index at:
100644 ab110b36c91137d9cd9ebcbe12eed8d7072d64f6	compat/time32/clock_getres_time32.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).