TacOS  0.2
 Tout Structures de données Fichiers Fonctions Variables Définitions de type Énumérations Macros
Fonctions
Référence du fichier termios.c
#include <termios.h>
#include <sys/ioctl.h>
Graphe des dépendances par inclusion de termios.c:

Fonctions

int tcgetattr (int fd, struct termios *termios_p)
 Récupère la configuration du terminal. Plus de détails...
 
int tcsetattr (int fd, int optional_actions, const struct termios *termios_p)
 Change la configuration du terminal. Plus de détails...
 
speed_t cfgetispeed (const struct termios *termios_p)
 
int cfsetispeed (struct termios *termios_p, speed_t speed)
 
void cfmakeraw (struct termios *termios_p)
 

Description détaillée

Auteur
TacOS developers

LICENSE

Copyright (C) 2010-2014 TacOS developers.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.

DESCRIPTION

Description de ce que fait le fichier

Documentation des fonctions

int tcgetattr ( int  fd,
struct termios termios_p 
)
Paramètres
fdFile descriptor du terminal.
termios_pPointeur vers une structure termios pour y placer le résultat.
Renvoie
0 en cas de succès, -1 sinon.
int tcsetattr ( int  fd,
int  optional_actions,
const struct termios termios_p 
)
Paramètres
fdFile descriptor du terminal.
optional_actionsPrécise quand les changements doivent avoir lieu (non implémenté).
termios_pPointeur vers une structure termios qui contient la configuration.
Renvoie
0 en cas de succès, -1 sinon.