xref: /aosp_15_r20/external/llvm-libc/include/llvm-libc-macros/linux/sys-ioctl-macros.h (revision 71db0c75aadcf003ffe3238005f61d7618a3fead)
1 //===-- Definition of macros from sys/ioctl.h -----------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H
10 #define LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H
11 
12 // TODO (michaelrj): Finish defining these macros.
13 // Just defining this macro for the moment since it's all that we need right
14 // now. The other macros are mostly just constants, but there's some complexity
15 // around the definitions of macros like _IO, _IOR, _IOW, and _IOWR that I don't
16 // think is worth digging into right now.
17 #define TIOCGETD 0x5424
18 
19 #endif // LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H
20