mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +00:00
18 lines
472 B
C
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);
|
|
}
|