cfsetospeed man page on DigitalUNIX

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

cfsetospeed(3)							cfsetospeed(3)

       cfsetospeed - Set the output baud rate for a terminal

       #include <termios.h>

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

       Standard C Library (libc)

       Interfaces  documented on this reference page conform to industry stan‐
       dards as follows:

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

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

       Points  to a termios structure containing the output baud rate.	Speci‐
       fies the new output baud rate.

       The cfsetospeed() function sets the output  baud	 rate  stored  in  the
       structure  pointed to by the termios_p parameter to the speed specified
       by the speed parameter.

       The zero baud rate, B0, is used to terminate the connection. If	B0  is
       specified,  the	modem  control lines are no longer asserted. Normally,
       this disconnects the line.

       There is no effect on the baud rates set in the hardware	 or  on	 modem
       control	lines  until a subsequent successful call is made to the tcse‐
       tattr() function on the same termios structure.

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

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

       Files: termios(4)

       Standards: standards(5)


List of man pages available for DigitalUNIX

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]
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