17639ba69SMichael Jones //===-- Definition of macros from sys/ioctl.h -----------------------------===// 27639ba69SMichael Jones // 37639ba69SMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 47639ba69SMichael Jones // See https://llvm.org/LICENSE.txt for license information. 57639ba69SMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 67639ba69SMichael Jones // 77639ba69SMichael Jones //===----------------------------------------------------------------------===// 87639ba69SMichael Jones 9*330793c9SNick Desaulniers #ifndef LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H 10*330793c9SNick Desaulniers #define LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H 117639ba69SMichael Jones 127639ba69SMichael Jones // TODO (michaelrj): Finish defining these macros. 137639ba69SMichael Jones // Just defining this macro for the moment since it's all that we need right 147639ba69SMichael Jones // now. The other macros are mostly just constants, but there's some complexity 157639ba69SMichael Jones // around the definitions of macros like _IO, _IOR, _IOW, and _IOWR that I don't 167639ba69SMichael Jones // think is worth digging into right now. 177639ba69SMichael Jones #define TIOCGETD 0x5424 187639ba69SMichael Jones 19*330793c9SNick Desaulniers #endif // LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H 20