From e6f77b7ea3e38c9853bee60b275f3f89d252a5b3 Mon Sep 17 00:00:00 2001 From: We-unite <3205135446@qq.com> Date: Thu, 23 Jan 2025 10:41:10 +0800 Subject: Initial commit, makee it usable on newest linux --- src/lib/dup.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/lib/dup.c (limited to 'src/lib/dup.c') diff --git a/src/lib/dup.c b/src/lib/dup.c new file mode 100644 index 0000000..dd13414 --- /dev/null +++ b/src/lib/dup.c @@ -0,0 +1,10 @@ +/* + * linux/lib/dup.c + * + * (C) 1991 Linus Torvalds + */ + +#define __LIBRARY__ +#include + +_syscall1(int,dup,int,fd) -- cgit v1.2.3-70-g09d2