Linux debugging

Check our new training course

Linux debugging, tracing, profiling & perf. analysis

Check our new training course
with Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer

#include <signal.h>
#include <errno.h>
#include "syscall.h"
#include "libc.h"

int sigtimedwait(const sigset_t *mask, siginfo_t *si, const struct timespec *timeout)
	int ret;
	do {
		ret = syscall(__NR_rt_sigtimedwait, mask, si, timeout, 8);
		if (ret<0) CANCELPT_TRY;
	} while (ret<0 && errno==EINTR);
	return ret;