Go to the first, previous, next, last section, table of contents.


tcsetattr

Syntax

#include <termios.h>

int tcsetattr (int fd, int action, const struct termios *termiosp);

Description

This function sets termios structure for device fd from the structure termiosp. Note that the termios emulation handles console only.

Return Value

Zero on success, nonzero on failure.

Portability

not ANSI, POSIX

Example

tcsetattr (0, TCSANOW, &termiosbuf);


Go to the first, previous, next, last section, table of contents.