Print this page
cfsetspeed

*** 47,57 **** .Dd January 20, 2019 .Dt CFSETISPEED 3C .Os .Sh NAME .Nm cfsetispeed , ! .Nm cfsetospeed .Nd set input and output baud rate .Sh SYNOPSIS .In termios.h .Ft int .Fo cfsetispeed --- 47,58 ---- .Dd January 20, 2019 .Dt CFSETISPEED 3C .Os .Sh NAME .Nm cfsetispeed , ! .Nm cfsetospeed , ! .Nm cfsetspeed .Nd set input and output baud rate .Sh SYNOPSIS .In termios.h .Ft int .Fo cfsetispeed
*** 61,70 **** --- 62,76 ---- .Ft int .Fo cfsetospeed .Fa "struct termios *termios_p" .Fa "speed_t speed" .Fc + .Ft int + .Fo cfsetspeed + .Fa "struct termios *termios_p" + .Fa "speed_t speed" + .Fc .Sh DESCRIPTION The .Fn cfsetispeed function sets the input baud rate stored in the structure pointed to by
*** 78,87 **** --- 84,101 ---- structure pointed to by .Fa termios_p to .Fa speed . .Pp + The + .Fn cfsetspeed + function sets both the input and output baud rate stored in the structure + pointed to by + .Fa termios_p + to + .Fa speed. + .Pp There is no effect on the baud rates set in the hardware until a subsequent successful call to .Xr tcsetattr 3C on the same .Vt termios