]> Zhao Yanbai Git Server - minix.git/commitdiff
Added _select() stub for select().
authorBen Gras <ben@minix3.org>
Tue, 27 Jun 2006 18:28:33 +0000 (18:28 +0000)
committerBen Gras <ben@minix3.org>
Tue, 27 Jun 2006 18:28:33 +0000 (18:28 +0000)
lib/posix/_select.c
lib/syscall/Makefile.in
lib/syscall/select.s [new file with mode: 0755]

index 7d46e6de7edace93ae60bbcc4bbf28e841a7154c..9aeebca2cb19dbaf82f786b6011b0034ce7bda9b 100755 (executable)
@@ -1,4 +1,6 @@
 
+#define select _select
+
 #include <lib.h>
 #include <sys/time.h>
 #include <sys/select.h>
index 3bfbf2eb5525ec617b7e040726935ca3bd789848..debbe200274792239af3d07f0824e715f993d005 100644 (file)
@@ -75,6 +75,7 @@ libc_FILES=" \
        rewinddir.s \
        rmdir.s \
        sbrk.s \
+       select.s \
        seekdir.s \
        setgid.s \
        setsid.s \
diff --git a/lib/syscall/select.s b/lib/syscall/select.s
new file mode 100755 (executable)
index 0000000..4395e56
--- /dev/null
@@ -0,0 +1,7 @@
+.sect .text
+.extern        __select
+.define        _select
+.align 2
+
+_select:
+       jmp     __select