Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/select.c')
-rw-r--r--newlib/libc/sys/linux/select.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/select.c b/newlib/libc/sys/linux/select.c
new file mode 100644
index 000000000..838d485a7
--- /dev/null
+++ b/newlib/libc/sys/linux/select.c
@@ -0,0 +1,12 @@
+/* libc/sys/linux/select.c - The select system calls */
+
+/* Written 2000 by Werner Almesberger */
+
+
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/syscall.h>
+
+
+_syscall5(int,select,int,n,fd_set *,readfds,fd_set *,writefds,
+ fd_set *,exceptfds,struct timeval *,timeout)