1 .\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
2 .TH "CFGETOSPEED" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
5 cfgetospeed \- get output baud rate
8 \fB#include <termios.h>
11 speed_t cfgetospeed(const struct termios *\fP\fItermios_p\fP\fB);
16 The \fIcfgetospeed\fP() function shall extract the output baud rate
17 from the \fBtermios\fP structure to which the
18 \fItermios_p\fP argument points.
20 This function shall return exactly the value in the \fBtermios\fP
21 data structure, without interpretation.
24 Upon successful completion, \fIcfgetospeed\fP() shall return a value
25 of type \fBspeed_t\fP representing the output baud
29 No errors are defined.
31 \fIThe following sections are informative.\fP
40 Refer to \fIcfgetispeed\fP() .
46 \fIcfgetispeed\fP() , \fIcfsetispeed\fP() , \fIcfsetospeed\fP() ,
47 \fItcgetattr\fP() , the Base Definitions volume of
48 IEEE\ Std\ 1003.1-2001, Chapter 11, General Terminal Interface, \fI<termios.h>\fP
50 Portions of this text are reprinted and reproduced in electronic form
51 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
52 -- Portable Operating System Interface (POSIX), The Open Group Base
53 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
54 Electrical and Electronics Engineers, Inc and The Open Group. In the
55 event of any discrepancy between this version and the original IEEE and
56 The Open Group Standard, the original IEEE and The Open Group Standard
57 is the referee document. The original Standard can be obtained online at
58 http://www.opengroup.org/unix/online.html .