summaryrefslogtreecommitdiffstats
path: root/common/ppoll.h
blob: 6d84a2e86990455f41334021df213f5c91788d18 (plain)
1
2
3
4
5
static inline int ppoll(struct pollfd *fds, nfds_t nfds,
		const struct timespec *timeout, const sigset_t *sigmask)
{
	return poll(fds, nfds, timeout ? timeout->tv_sec * 1000 : 500);
}