delorie.com/djgpp/doc/libc/libc_811.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <termios.h> int tcsetattr (int fd, int action, const struct termios *termiosp); |
This function sets termios structure for device open on the handle fd from the structure termiosp. Note that the termios emulation handles console only.
The action argument can accept the following values:
TCSANOW
TCSADRAIN
TCSAFLUSH
Currently, any of these values causes the values in termiosp to take effect immediately.
See section Termios functions, for the description of the struct
termios
structure.
Zero on success, nonzero on failure.
ANSI/ISO C | No |
POSIX | 1003.2-1992; 1003.1-2001 |
tcsetattr (0, TCSANOW, &termiosbuf); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |