Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Serial question about c_ispeed and c_ospeed
Ref. No. QNX.000009243
Category(ies) Development, Character I/O
Issue In termios.h there are two parameters: c_ispeed and c_ospeed.  Can these two parameters be changed via tcgetattr() and tcsetattr()?

Solution Use the cfgetispeed(), cfsetispeed(), cfgetospeed() and cfsetospeed() functions.  They are POSIX-compatible and documented in the Watcom Library Reference.