Synopsis

#include <termios.h>

int cfsetispeed(struct termios *termios_p, speed_t speed)

Description

cfsetispeed() function provided for setting the baud rate value in the termios structure. Functions sets speed value to input bound rate in termios structure termios_p.

Return value

Returns the value 0 upon successful completion, otherwise the value -1 is returned.

Errors