blob: 8593c1e77c97324dc9ad8e5e9e47dc904643bbfc (
plain)
1
2
3
4
5
6
7
|
#pragma once
#include <poll.h>
// Behaves like poll(3) but works for device files on macOS.
// Only supports POLLIN and POLLOUT.
int polldev(struct pollfd fds[], nfds_t nfds, int timeout);
|