about summary refs log tree commit diff
path: root/src/linux/dup3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/dup3.c')
-rw-r--r--src/linux/dup3.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/linux/dup3.c b/src/linux/dup3.c
deleted file mode 100644
index 18f6fcce..00000000
--- a/src/linux/dup3.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#define _GNU_SOURCE
-#include <unistd.h>
-#include <errno.h>
-#include "syscall.h"
-
-int dup3(int old, int new, int flags) {
-	int r;
-	while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY);
-	return __syscall_ret(r);
-}