www.delorie.com/djgpp/doc/libc/libc_806.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

tcflow

Syntax

 
#include <termios.h>

int tcflow (int fd, int action);

Description

This function suspends transmission of data to, or reception of data from, the device/file open on handle fd. The action argument can take one of these values:

TCOOFF
the output is suspended
TCOON
the output is resumed
TCIOFF
the STOP character is transmitted
TCION
the START character is transmitted

The current START and STOP characters are stored in the termios structure that is currently in effect. See section Termios functions, for more details about that.

Note that the DJGPP termios emulation handles console only.

Return Value

Zero on success, nonzero on failure.

Portability

ANSI/ISO C No
POSIX 1003.2-1992; 1003.1-2001


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004