summaryrefslogtreecommitdiff
path: root/userland/libc/include/sys/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/include/sys/ioctl.h')
-rw-r--r--userland/libc/include/sys/ioctl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/userland/libc/include/sys/ioctl.h b/userland/libc/include/sys/ioctl.h
new file mode 100644
index 0000000..a373a4b
--- /dev/null
+++ b/userland/libc/include/sys/ioctl.h
@@ -0,0 +1,10 @@
+#ifndef IOCTL_H
+#define IOCTL_H
+#define TIOCGWINSZ 0
+struct winsize {
+ unsigned short ws_row;
+ unsigned short ws_col;
+ unsigned short ws_xpixel;
+ unsigned short ws_ypixel;
+};
+#endif // IOCTL_H