]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3p/cfgetospeed.3p
Import of man-pages 1.70
[thirdparty/man-pages.git] / man3p / cfgetospeed.3p
1 .\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
2 .TH "CFGETOSPEED" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
3 .\" cfgetospeed
4 .SH NAME
5 cfgetospeed \- get output baud rate
6 .SH SYNOPSIS
7 .LP
8 \fB#include <termios.h>
9 .br
10 .sp
11 speed_t cfgetospeed(const struct termios *\fP\fItermios_p\fP\fB);
12 .br
13 \fP
14 .SH DESCRIPTION
15 .LP
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.
19 .LP
20 This function shall return exactly the value in the \fBtermios\fP
21 data structure, without interpretation.
22 .SH RETURN VALUE
23 .LP
24 Upon successful completion, \fIcfgetospeed\fP() shall return a value
25 of type \fBspeed_t\fP representing the output baud
26 rate.
27 .SH ERRORS
28 .LP
29 No errors are defined.
30 .LP
31 \fIThe following sections are informative.\fP
32 .SH EXAMPLES
33 .LP
34 None.
35 .SH APPLICATION USAGE
36 .LP
37 None.
38 .SH RATIONALE
39 .LP
40 Refer to \fIcfgetispeed\fP() .
41 .SH FUTURE DIRECTIONS
42 .LP
43 None.
44 .SH SEE ALSO
45 .LP
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
49 .SH COPYRIGHT
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 .