diff options
Diffstat (limited to 'klibc/klibc/select.c')
-rw-r--r-- | klibc/klibc/select.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/klibc/klibc/select.c b/klibc/klibc/select.c new file mode 100644 index 0000000000..2404bb1e64 --- /dev/null +++ b/klibc/klibc/select.c @@ -0,0 +1,9 @@ +#include <unistd.h> +#include <sys/syscall.h> + +#ifdef __NR__newselect +#undef __NR_select +#define __NR_select __NR__newselect +#endif + +_syscall5(int,select,int,a0,fd_set *,a1,fd_set *,a2,fd_set *,a3,struct timeval *,a4); |