aboutsummaryrefslogtreecommitdiff
path: root/core/sys/linux
diff options
context:
space:
mode:
authorRaphGL <raphfl.dev@gmail.com>2025-06-20 16:45:05 -0100
committerRaphGL <raphfl.dev@gmail.com>2025-06-20 16:45:05 -0100
commit0b5be6ad6a3c40ced071c89bb066dfd326b72943 (patch)
treec1dbc32c8eeb41aba2d2373b07e218eb0de373ff /core/sys/linux
parentd3b1aaad18e7a1445992aea76dfb6fa00e5a9d80 (diff)
added TIOCGWINSZ to darwin, linux and freebsd
Diffstat (limited to 'core/sys/linux')
-rw-r--r--core/sys/linux/constants.odin3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/sys/linux/constants.odin b/core/sys/linux/constants.odin
index b3bbcafb3..3fba74b4c 100644
--- a/core/sys/linux/constants.odin
+++ b/core/sys/linux/constants.odin
@@ -373,3 +373,6 @@ PTRACE_SECCOMP_GET_FILTER :: PTrace_Seccomp_Get_Filter_Type(.SECCOMP_GET_FIL
PTRACE_SECCOMP_GET_METADATA :: PTrace_Seccomp_Get_Metadata_Type(.SECCOMP_GET_METADATA)
PTRACE_GET_SYSCALL_INFO :: PTrace_Get_Syscall_Info_Type(.GET_SYSCALL_INFO)
PTRACE_GET_RSEQ_CONFIGURATION :: PTrace_Get_RSeq_Configuration_Type(.GET_RSEQ_CONFIGURATION)
+
+/* Get window size */
+TIOCGWINSZ :: 0x5413