From 1a66f5d069e4ccb600186918f716323aa7bae052 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Tue, 17 Jan 2023 22:49:31 +0100 Subject: add tctl and list --- lib/sys/ioctl.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/sys/ioctl.h (limited to 'lib/sys/ioctl.h') diff --git a/lib/sys/ioctl.h b/lib/sys/ioctl.h new file mode 100644 index 0000000..4bf73f7 --- /dev/null +++ b/lib/sys/ioctl.h @@ -0,0 +1,11 @@ +#ifndef SYS_IOCTL_H +#define SYS_IOCTL_H + +#include "syscalls.h" + +int ioctl(unsigned int fd, unsigned int cmd, void *arg) +{ + return syscall(IOCTL, fd, cmd, arg); +} + +#endif -- cgit v1.2.3-70-g09d2