Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include
File: termios.h
/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
/*
[17] Fix | Delete
* POSIX Standard: 7.1-2 General Terminal Interface <termios.h>
[18] Fix | Delete
*/
[19] Fix | Delete
[20] Fix | Delete
#ifndef _TERMIOS_H
[21] Fix | Delete
#define _TERMIOS_H 1
[22] Fix | Delete
[23] Fix | Delete
#include <features.h>
[24] Fix | Delete
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
[25] Fix | Delete
/* We need `pid_t'. */
[26] Fix | Delete
# include <bits/types.h>
[27] Fix | Delete
# ifndef __pid_t_defined
[28] Fix | Delete
typedef __pid_t pid_t;
[29] Fix | Delete
# define __pid_t_defined
[30] Fix | Delete
# endif
[31] Fix | Delete
#endif
[32] Fix | Delete
[33] Fix | Delete
__BEGIN_DECLS
[34] Fix | Delete
[35] Fix | Delete
/* Get the system-dependent definitions of `struct termios', `tcflag_t',
[36] Fix | Delete
`cc_t', `speed_t', and all the macros specifying the flag bits. */
[37] Fix | Delete
#include <bits/termios.h>
[38] Fix | Delete
[39] Fix | Delete
#ifdef __USE_MISC
[40] Fix | Delete
/* Compare a character C to a value VAL from the `c_cc' array in a
[41] Fix | Delete
`struct termios'. If VAL is _POSIX_VDISABLE, no character can match it. */
[42] Fix | Delete
# define CCEQ(val, c) ((c) == (val) && (val) != _POSIX_VDISABLE)
[43] Fix | Delete
#endif
[44] Fix | Delete
[45] Fix | Delete
/* Return the output baud rate stored in *TERMIOS_P. */
[46] Fix | Delete
extern speed_t cfgetospeed (const struct termios *__termios_p) __THROW;
[47] Fix | Delete
[48] Fix | Delete
/* Return the input baud rate stored in *TERMIOS_P. */
[49] Fix | Delete
extern speed_t cfgetispeed (const struct termios *__termios_p) __THROW;
[50] Fix | Delete
[51] Fix | Delete
/* Set the output baud rate stored in *TERMIOS_P to SPEED. */
[52] Fix | Delete
extern int cfsetospeed (struct termios *__termios_p, speed_t __speed) __THROW;
[53] Fix | Delete
[54] Fix | Delete
/* Set the input baud rate stored in *TERMIOS_P to SPEED. */
[55] Fix | Delete
extern int cfsetispeed (struct termios *__termios_p, speed_t __speed) __THROW;
[56] Fix | Delete
[57] Fix | Delete
#ifdef __USE_MISC
[58] Fix | Delete
/* Set both the input and output baud rates in *TERMIOS_OP to SPEED. */
[59] Fix | Delete
extern int cfsetspeed (struct termios *__termios_p, speed_t __speed) __THROW;
[60] Fix | Delete
#endif
[61] Fix | Delete
[62] Fix | Delete
[63] Fix | Delete
/* Put the state of FD into *TERMIOS_P. */
[64] Fix | Delete
extern int tcgetattr (int __fd, struct termios *__termios_p) __THROW;
[65] Fix | Delete
[66] Fix | Delete
/* Set the state of FD to *TERMIOS_P.
[67] Fix | Delete
Values for OPTIONAL_ACTIONS (TCSA*) are in <bits/termios.h>. */
[68] Fix | Delete
extern int tcsetattr (int __fd, int __optional_actions,
[69] Fix | Delete
const struct termios *__termios_p) __THROW;
[70] Fix | Delete
[71] Fix | Delete
[72] Fix | Delete
#ifdef __USE_MISC
[73] Fix | Delete
/* Set *TERMIOS_P to indicate raw mode. */
[74] Fix | Delete
extern void cfmakeraw (struct termios *__termios_p) __THROW;
[75] Fix | Delete
#endif
[76] Fix | Delete
[77] Fix | Delete
/* Send zero bits on FD. */
[78] Fix | Delete
extern int tcsendbreak (int __fd, int __duration) __THROW;
[79] Fix | Delete
[80] Fix | Delete
/* Wait for pending output to be written on FD.
[81] Fix | Delete
[82] Fix | Delete
This function is a cancellation point and therefore not marked with
[83] Fix | Delete
__THROW. */
[84] Fix | Delete
extern int tcdrain (int __fd);
[85] Fix | Delete
[86] Fix | Delete
/* Flush pending data on FD.
[87] Fix | Delete
Values for QUEUE_SELECTOR (TC{I,O,IO}FLUSH) are in <bits/termios.h>. */
[88] Fix | Delete
extern int tcflush (int __fd, int __queue_selector) __THROW;
[89] Fix | Delete
[90] Fix | Delete
/* Suspend or restart transmission on FD.
[91] Fix | Delete
Values for ACTION (TC[IO]{OFF,ON}) are in <bits/termios.h>. */
[92] Fix | Delete
extern int tcflow (int __fd, int __action) __THROW;
[93] Fix | Delete
[94] Fix | Delete
[95] Fix | Delete
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
[96] Fix | Delete
/* Get process group ID for session leader for controlling terminal FD. */
[97] Fix | Delete
extern __pid_t tcgetsid (int __fd) __THROW;
[98] Fix | Delete
#endif
[99] Fix | Delete
[100] Fix | Delete
[101] Fix | Delete
#ifdef __USE_MISC
[102] Fix | Delete
# include <sys/ttydefaults.h>
[103] Fix | Delete
#endif
[104] Fix | Delete
[105] Fix | Delete
__END_DECLS
[106] Fix | Delete
[107] Fix | Delete
#endif /* termios.h */
[108] Fix | Delete
[109] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function