1CFGETOSPEED(P) POSIX Programmer's Manual CFGETOSPEED(P)
2
3
4
6 cfgetospeed - get output baud rate
7
9 #include <termios.h>
10
11 speed_t cfgetospeed(const struct termios *termios_p);
12
13
15 The cfgetospeed() function shall extract the output baud rate from the
16 termios structure to which the termios_p argument points.
17
18 This function shall return exactly the value in the termios data struc‐
19 ture, without interpretation.
20
22 Upon successful completion, cfgetospeed() shall return a value of type
23 speed_t representing the output baud rate.
24
26 No errors are defined.
27
28 The following sections are informative.
29
31 None.
32
34 None.
35
37 Refer to cfgetispeed() .
38
40 None.
41
43 cfgetispeed() , cfsetispeed() , cfsetospeed() , tcgetattr() , the Base
44 Definitions volume of IEEE Std 1003.1-2001, Chapter 11, General Termi‐
45 nal Interface, <termios.h>
46
48 Portions of this text are reprinted and reproduced in electronic form
49 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
50 -- Portable Operating System Interface (POSIX), The Open Group Base
51 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
52 Electrical and Electronics Engineers, Inc and The Open Group. In the
53 event of any discrepancy between this version and the original IEEE and
54 The Open Group Standard, the original IEEE and The Open Group Standard
55 is the referee document. The original Standard can be obtained online
56 at http://www.opengroup.org/unix/online.html .
57
58
59
60IEEE/The Open Group 2003 CFGETOSPEED(P)