mailing list of musl libc
 help / color / mirror / code / Atom feed
53d048032c75337602b8fa5dacde984274712b48 blob 256 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
#include <errno.h>
#include <signal.h>

int sigwait(const sigset_t *restrict mask, int *restrict sig)
{
	int ret;
	siginfo_t si;
	do ret = sigtimedwait(mask, &si, 0);
	while (ret<0 && errno==EINTR);
	if (ret<0) return -1;
	*sig = si.si_signo;
	return 0;
}
debug log:

solving 53d04803 ...
found 53d04803 in https://inbox.vuxu.org/musl/B56E055D-9B25-49ED-B194-5E62E02808E0@gmail.com/
found c8822eea in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 c8822eea49837bfc732ca38a330af89bc8582288	src/signal/sigwait.c

applying [1/1] https://inbox.vuxu.org/musl/B56E055D-9B25-49ED-B194-5E62E02808E0@gmail.com/
diff --git a/src/signal/sigwait.c b/src/signal/sigwait.c
index c8822eea..53d04803 100644

Checking patch src/signal/sigwait.c...
Applied patch src/signal/sigwait.c cleanly.

index at:
100644 53d048032c75337602b8fa5dacde984274712b48	src/signal/sigwait.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).