Path: blob/main/contrib/llvm-project/libc/include/llvm-libc-macros/linux/sys-ioctl-macros.h
213799 views
//===-- Definition of macros from sys/ioctl.h -----------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H9#define LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H1011// TODO (michaelrj): Finish defining these macros.12// Just defining this macro for the moment since it's all that we need right13// now. The other macros are mostly just constants, but there's some complexity14// around the definitions of macros like _IO, _IOR, _IOW, and _IOWR that I don't15// think is worth digging into right now.16#define TIOCGETD 0x542417#define FIONREAD 0x541B1819#endif // LLVM_LIBC_MACROS_LINUX_SYS_IOCTL_MACROS_H202122