mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
8 lines
201 B
C
8 lines
201 B
C
|
#pragma once
|
||
|
|
||
|
#include <poll.h>
|
||
|
|
||
|
// Behaves like poll(3) but works for device files on macOS.
|
||
|
// Only supports POLLIN, POLLOUT, and POLLERR.
|
||
|
int polldev(struct pollfd fds[], nfds_t nfds, int timeout);
|