CFGETOSPEED(3POSIX)
π CFGETOSPEED(3POSIX) π
okay so bestie, welcome to the POSIX Programmer's Manual β¨ this one's called CFGETOSPEED(3POSIX) and it lives in the POSIX Programmer's Manual, if the header didn't already give that away π
πΈ PROLOG πΈ
so like, real talk first: this manual page is part of the POSIX Programmer's Manual. the Linux implementation of this interface may differ (so pls go consult the corresponding Linux manual page for the deets on Linux behavior), or β and this is the part nobody likes β the interface may not be implemented on Linux at all π. no cap.
β¨ NAME β¨
cfgetospeed β get output baud rate π
π¦ SYNOPSIS π¦
#include <termios.h>
speed_t cfgetospeed(const struct termios *termios_p);
π DESCRIPTION π
so what does this little icon actually do? the cfgetospeed() function shall extract the output baud rate from the termios structure that the termios_p argument points to. that's it. that's the whole job. main character behavior honestly π
and here's the vibe: this function shall return exactly the value in the termios data structure, without interpretation. no glow-up, no translation, no "let me fix that for you" β it hands you the raw value, periodt π«Ά
π RETURN VALUE π
upon successful completion, cfgetospeed() shall return a value of type speed_t representing the output baud rate. slay β¨
π ERRORS π
No errors are defined. not a single one. it's giving flawless π
the following sections are informative β i.e. the fun bonus lore section, keep reading bestie π
π EXAMPLES π
None. π (i know. i wanted examples too.)
π§ APPLICATION USAGE π§
None. π
β RATIONALE β
Refer to cfgetispeed(). go read that one, it's basically the sibling page π¦
πΈ FUTURE DIRECTIONS πΈ
None. the future is bright and also empty β¨
π₯ SEE ALSO π₯
cfgetispeed()cfsetispeed()cfsetospeed()tcgetattr()- The Base Definitions volume of POSIX.1β2017, Chapter 11, General Terminal Interface,
<termios.h>
π COPYRIGHT π
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .
Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .
and that's the whole page bestie, no crumbs left π this edition was served up by IEEE/The Open Group, dated 2017, filed under CFGETOSPEED(3POSIX) β go forth and read your baud rates, ily π«Άβ¨
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms