cvs.delorie.com/djgpp/doc/libc/libc_84.html   search  
libc.a reference

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

cfgetispeed

Syntax

 
#include <termios.h>

speed_t cfgetispeed (const struct termios *termiosp);

Description

This function gets the input line speed stored in the structure termiosp. See section Termios functions, for more details about this structure and the baudrate values it supports.

Note that the termios emulation handles console only, and that the input baudrate value is ignored by this implementation.

Return Value

The input line speed on success, (speed_t) -1 for error.

Portability

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


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004