aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/ioctl.h
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-01-17 22:49:31 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-01-17 22:49:31 +0100
commit1a66f5d069e4ccb600186918f716323aa7bae052 (patch)
tree9010251014a766f29d1c2fb6c30c9abdb1766962 /lib/sys/ioctl.h
parentb2146cd4d6e6f5fda36d59c054e0634a2098a03c (diff)
add tctl and list
Diffstat (limited to 'lib/sys/ioctl.h')
-rw-r--r--lib/sys/ioctl.h11
1 files changed, 11 insertions, 0 deletions
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