1 /* 2 * Copyright 2023 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _BSD_TERMIOS_H_ 6 #define _BSD_TERMIOS_H_ 7 8 9 #include_next <termios.h> 10 #include <features.h> 11 12 13 #ifdef _DEFAULT_SOURCE 14 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 extern int cfsetspeed(struct termios *termios, speed_t speed); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 27 #endif 28 29 30 #endif /* _BSD_TERMIOS_H_ */ 31