1 //===-- Definition of macros from sys/ioctl.h -----------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef __LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H
10 #define __LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H
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
19 #endif // __LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H