*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> cfsetispeed (3)              
Title
Content
Arch
Section
 

cfsetispeed(3)

Contents


NAME    [Toc]    [Back]

       cfsetispeed - Set input baud rate for a terminal

SYNOPSIS    [Toc]    [Back]

       #include <termios.h>

       int cfsetispeed(
               struct termios *termios_p,
               speed_t speed );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       cfsetispeed():  POSIX.1, XPG4, XPG4-UNIX

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

PARAMETERS    [Toc]    [Back]

       Points  to  a  termios structure containing the input baud
       rate.  Specifies the new input baud rate.

DESCRIPTION    [Toc]    [Back]

       The cfsetispeed() function sets the input baud rate stored
       in  the structure pointed to by the termios_p parameter to
       the value specified by the speed parameter.

       If the input baud rate is set to 0 (zero), the input  baud
       rate  will  be  specified  by the value of the output baud
       rate.

       There is no effect on the baud rates set in  the  hardware
       until  a  subsequent  successful call is made to the tcsetattr()
 function on the same termios structure.

RETURN VALUES    [Toc]    [Back]

       Upon successful  completion,  the  cfsetispeed()  function
       returns  a  value of 0 (zero). Otherwise, a value of -1 is
       returned.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: cfgetispeed(3), cfgetospeed(3), cfsetospeed(3),
       tcsetattr(3)

       Files: termios(4)

       Standards: standards(5)



                                                   cfsetispeed(3)
[ Back ]
 Similar pages
Name OS Title
cfgetispeed Tru64 Get the input baud rate for a terminal
termios Linux get and set terminal attributes, line control, get and set baud rate, get and set terminal foregroun...
cfsetospeed Tru64 Set the output baud rate for a terminal
cfgetospeed Tru64 Get the output baud rate for a terminal
dmAudioRateConvert IRIX convert data sampling rate. It consumes an input buffer of floats and generates an output buffer of floats.
curs_inopts IRIX curses terminal input option control routines
tty Linux print the file name of the terminal connected to standard input
XmImUnsetFocus HP-UX An input manager function that notifies an input method that a widget has lost input focus
XmImVaSetFocusValues HP-UX An input manager function that notifies an input manager that a widget has received input focus and updates th
XmImSetFocusValues HP-UX An input manager function that notifies an input manager that a widget has received input focus and updates th
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service