blob: a604d094ca1133e0a196a70b9114bbcf1786c540 (
plain) (
tree)
|
|
#include <sys/select.h>
#include "syscall.h"
#include "libc.h"
int select(int n, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv)
{
int r;
CANCELPT_BEGIN;
r = syscall5(__NR__newselect, n, (long)rfds, (long)wfds, (long)efds, (long)tv);
CANCELPT_END;
return r;
}
|