blob: caceebaf08c819c2beae94d19416db78541dd3e9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <poll.h>
#include "syscall.h"
#include "libc.h"
int poll(struct pollfd *fds, nfds_t n, int timeout)
{
int r;
CANCELPT_BEGIN;
r = syscall(SYS_poll, fds, n, timeout);
CANCELPT_END;
return r;
}
|