brintos

brintos / llvm-project-archived public Read only

0
0
Text · 903 B · 4122608 Raw
21 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H10#define LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H11 12// TODO (michaelrj): Finish defining these macros.13// Just defining this macro for the moment since it's all that we need right14// now. The other macros are mostly just constants, but there's some complexity15// around the definitions of macros like _IO, _IOR, _IOW, and _IOWR that I don't16// think is worth digging into right now.17#define TIOCGETD 0x542418#define FIONREAD 0x541B19 20#endif // LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H21