diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-17 22:49:31 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-17 22:49:31 +0100 |
| commit | 1a66f5d069e4ccb600186918f716323aa7bae052 (patch) | |
| tree | 9010251014a766f29d1c2fb6c30c9abdb1766962 /lib/sys/ioctl.h | |
| parent | b2146cd4d6e6f5fda36d59c054e0634a2098a03c (diff) | |
add tctl and list
Diffstat (limited to 'lib/sys/ioctl.h')
| -rw-r--r-- | lib/sys/ioctl.h | 11 |
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 |