cfgetispeed man page on NeXTSTEP

Man page or keyword search:  
man Server   1419 pages
apropos Keyword Search (all sections)
Output format
NeXTSTEP logo
[printable version]


CFGETISPEED(3P)						       CFGETISPEED(3P)

NAME
       cfgetispeed,  cfgetospeed,  cfsetispeed, cfsetospeed - (POSIX only) get
       and set input and output baud rates

SYNOPSIS
       #include <termios.h>

       speed_t cfgetispeed(const struct termios *termios_p);

       speed_t cfgetospeed(const struct termios *termios_p);

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

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

DESCRIPTION
       The  information	 in  this  specification   applies   only   to	 POSIX
       applications.

       These  interfaces  are  used  for getting and setting the values of the
       input and output baud rates in the termios structure.  The  effects  on
       the  terminal  device  do  not  become  effective  until	 the tcsetattr
       function is successfully called.

       The cfgetispeed function returns the input  baud	 rate  stored  in  the
       termios structure to which termios_p points.

       The  cfgetospeed	 function  returns  the output baud rate stored in the
       termios structure to which termios_p points.

       The cfsetispeed function sets the input baud rate stored in the termios
       structure to which termios_p points.

       The  cfsetospeed	 function  sets	 the  output  baud  rate stored in the
       termios structure to which termios_p points.

RETURN VALUE
       The cfgetispeed and cfgetospeed	functions  return  exactly  the	 value
       found in the termios data structure without interpretation.

       The  cfsetispeed	 and  cfsetospeed  functions return a value of zero if
       successful and -1 otherwise.

SEE ALSO
       tcsetattr(3P), termios(4P)

4th Berkeley Distribution	August 1, 1992		       CFGETISPEED(3P)
[top]

List of man pages available for NeXTSTEP

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net