Siva Chandra Reddy | b2a294b | 2022-10-17 16:27:45 | [diff] [blame] | 1 | //===-- Implementation header for tcsendbreak -------------------*- C++ -*-===// |
| 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-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
Guillaume Chatelet | 270547f | 2023-09-21 09:14:47 | [diff] [blame] | 9 | #ifndef LLVM_LIBC_SRC_TERMIOS_TCSENDBREAK_H |
| 10 | #define LLVM_LIBC_SRC_TERMIOS_TCSENDBREAK_H |
Siva Chandra Reddy | b2a294b | 2022-10-17 16:27:45 | [diff] [blame] | 11 | |
Petr Hosek | 5ff3ff3 | 2024-07-12 16:28:41 | [diff] [blame] | 12 | #include "src/__support/macros/config.h" |
Siva Chandra Reddy | b2a294b | 2022-10-17 16:27:45 | [diff] [blame] | 13 | #include <termios.h> |
| 14 | |
Petr Hosek | 5ff3ff3 | 2024-07-12 16:28:41 | [diff] [blame] | 15 | namespace LIBC_NAMESPACE_DECL { |
Siva Chandra Reddy | b2a294b | 2022-10-17 16:27:45 | [diff] [blame] | 16 | |
| 17 | int tcsendbreak(int fd, int duration); |
| 18 | |
Petr Hosek | 5ff3ff3 | 2024-07-12 16:28:41 | [diff] [blame] | 19 | } // namespace LIBC_NAMESPACE_DECL |
Siva Chandra Reddy | b2a294b | 2022-10-17 16:27:45 | [diff] [blame] | 20 | |
Guillaume Chatelet | 270547f | 2023-09-21 09:14:47 | [diff] [blame] | 21 | #endif // LLVM_LIBC_SRC_TERMIOS_TCSENDBREAK_H |