summaryrefslogtreecommitdiffstats
path: root/src/evpoll.h
blob: dad54b54496af8b55bd31eb8d04c49467bc5fff6 (plain)
1
2
3
4
5
6
7
8
#pragma once

#include <poll.h>

/*
 * integrate with external event loop, e.g. glib
 */
int evpoll(struct pollfd *fds, nfds_t nfds, int timeout);