delorie.com/djgpp/doc/libc/libc_85.html   search  
libc.a reference

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

cfgetospeed

Syntax

 
#include <termios.h>

speed_t cfgetospeed (const struct termios *termiosp);

Description

This function gets the output 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 baudrate value has no effect in this implementation.

Return Value

The output 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