summaryrefslogblamecommitdiff
path: root/src/select/poll.c
blob: caceebaf08c819c2beae94d19416db78541dd3e9 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                   
                                               


                     
#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;
}