From 1fc2d9c88af77c3af81b6bd461e6b019b97d2dbb Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 20 Jul 2024 23:17:36 +0200 Subject: *: moving files --- src/libc/syscall.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libc/syscall.c') diff --git a/src/libc/syscall.c b/src/libc/syscall.c index f44c775..c6e3762 100644 --- a/src/libc/syscall.c +++ b/src/libc/syscall.c @@ -98,6 +98,10 @@ hid_t _sys_getnull(int flags) { return (hid_t)_syscall(_SYS_GETNULL, (long)flags, 0, 0, 0, 0); } +long _sys_duplex(hid_t from, hid_t to, int flags) { + return _syscall(_SYS_DUPLEX, (long)from, (long)to, (long)flags, 0, 0); +} + long _sys_execbuf(void __user *buf, size_t len) { return _syscall(_SYS_EXECBUF, (long)buf, (long)len, 0, 0, 0); } -- cgit v1.2.3