www.delorie.com/djgpp/doc/libc-2.01/libc_646.html   search  
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.

Example

tcsetattr (0, TCSANOW, &termiosbuf);


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997