Retro68/gcc/newlib/libc/sys/linux/select.c
2012-03-27 01:51:53 +02:00

18 lines
472 B
C

/* 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);
}