summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-19 19:10:35 -0400
committerIan Moffett <ian@osmora.org>2024-05-19 19:14:13 -0400
commit482a38725d4e1d9b5aee18e2b2d5af3d0b0e54e9 (patch)
treea7de5975cfc79d652f6328d1f3167986ca9ebe71 /sys/include
parentddfedec2f91aa67cfc060ab35398e08ec1b1e37d (diff)
kernel: tty: Implement tty_ioctl()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/tty.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/sys/tty.h b/sys/include/sys/tty.h
index a4595d5..18583a5 100644
--- a/sys/include/sys/tty.h
+++ b/sys/include/sys/tty.h
@@ -38,6 +38,10 @@
#include <dev/vcons/vcons.h>
#endif
+/* TTY ioctl commands */
+#define TCSETS 0x00000000U
+#define TCGETS 0x00000001U
+
#if defined(_KERNEL)
#define TTY_RING_SIZE 32
#define TTY_SOURCE_RAW 0x0001U /* Raw text */