Siva Chandra Reddy b2a294bcf8 [libc] Add termios.h and the implementation of functions declared in it.
Reviewed By: lntue, michaelrj

Differential Revision: https://reviews.llvm.org/D136143
2022-10-18 20:53:00 +00:00

21 lines
607 B
C++

//===-- Implementation header for tcflush -----------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SRC_UNISTD_TCFLUSH_H
#define LLVM_LIBC_SRC_UNISTD_TCFLUSH_H
#include <termios.h>
namespace __llvm_libc {
int tcflush(int fd, int queue_selector);
} // namespace __llvm_libc
#endif // LLVM_LIBC_SRC_UNISTD_TCFLUSH_H