summaryrefslogtreecommitdiff
path: root/libc/include
diff options
context:
space:
mode:
authorW. Turner Abney <weebney@gmail.com>2025-06-12 12:20:32 -0400
committerGitHub <noreply@github.com>2025-06-12 09:20:32 -0700
commit4039fdb7ba5a0d9ead5bdc0404f036063a4ca95d (patch)
tree6809a508d06b26f7a9f65e273b54194849599a5a /libc/include
parentc6da2c877cb407c0404e58c5ca257d12036ed164 (diff)
[libc] add ioctl (#141393)
Closes #85275 Closes #90317 Updates #97191 --------- Co-authored-by: Joseph Huber <huberjn@outlook.com> Co-authored-by: Michael Jones <michaelrj@google.com>
Diffstat (limited to 'libc/include')
-rw-r--r--libc/include/llvm-libc-macros/linux/sys-ioctl-macros.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/llvm-libc-macros/linux/sys-ioctl-macros.h b/libc/include/llvm-libc-macros/linux/sys-ioctl-macros.h
index 5eb779aeeca5..41226080084c 100644
--- a/libc/include/llvm-libc-macros/linux/sys-ioctl-macros.h
+++ b/libc/include/llvm-libc-macros/linux/sys-ioctl-macros.h
@@ -15,5 +15,6 @@
// around the definitions of macros like _IO, _IOR, _IOW, and _IOWR that I don't
// think is worth digging into right now.
#define TIOCGETD 0x5424
+#define FIONREAD 0x541B
#endif // LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H