cfsetspeed

cfsetospeed is a Linux standard interface to set input and output speed.

See Library Functions on the Linux man-pages project for more information.