xref: /llvm-project/libc/src/unistd/isatty.h (revision 7477b61b2416ca130bd3ed9bbc96988e5de17623)
17639ba69SMichael Jones //===-- Implementation header for isatty ------------------------*- C++ -*-===//
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 
97639ba69SMichael Jones #ifndef LLVM_LIBC_SRC_UNISTD_ISATTY_H
107639ba69SMichael Jones #define LLVM_LIBC_SRC_UNISTD_ISATTY_H
117639ba69SMichael Jones 
12*7477b61bSTristan Ross #include "hdr/unistd_macros.h"
135ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
147639ba69SMichael Jones 
155ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
167639ba69SMichael Jones 
177639ba69SMichael Jones int isatty(int fd);
187639ba69SMichael Jones 
195ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
207639ba69SMichael Jones 
217639ba69SMichael Jones #endif // LLVM_LIBC_SRC_UNISTD_ISATTY_H
22