This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Set the size of a character device
#include <termios.h> int tcsetsize( int filedes, int rows, int cols );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The tcsetsize() function sets the size of the character device associated with filedes to the given number of rows and columns.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |