mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
27 lines
967 B
C
27 lines
967 B
C
/*************************************************************************\
|
|
* Copyright (C) Michael Kerrisk, 2018. *
|
|
* *
|
|
* This program is free software. You may use, modify, and redistribute it *
|
|
* under the terms of the GNU Lesser General Public License as published *
|
|
* by the Free Software Foundation, either version 3 or (at your option) *
|
|
* any later version. This program is distributed without any warranty. *
|
|
* See the files COPYING.lgpl-v3 and COPYING.gpl-v3 for details. *
|
|
\*************************************************************************/
|
|
|
|
/* Header file for Listing 62-3 */
|
|
|
|
/* tty_functions.h
|
|
|
|
Header file for tty_functions.c.
|
|
*/
|
|
#ifndef TTY_FUNCTIONS_H
|
|
#define TTY_FUNCTIONS_H
|
|
|
|
#include <termios.h>
|
|
|
|
int ttySetCbreak(int fd, struct termios *prevTermios);
|
|
|
|
int ttySetRaw(int fd, struct termios *prevTermios);
|
|
|
|
#endif
|