Retro68/gcc/newlib/libc/sys/linux/select.c

18 lines
472 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
/* libc/sys/linux/select.c - The select system calls */
/* Written 2000 by Werner Almesberger */
#include <sys/types.h>
#include <sys/time.h>
#include <machine/syscall.h>
static _syscall5(int,_newselect,int,n,fd_set *,readfds,fd_set *,writefds,fd_set *,exceptfds,struct timeval *,timeout)
int select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
struct timeval *timeout)
{
return _newselect(n, readfds, writefds, exceptfds, timeout);
}