mesh_driver/lunix-attach.c
static int tty_set_speed(struct termios *tty, const char *speed)
{
	int code;
	if ((code = tty_find_speed(speed)) < 0)
		return code;
	tty->c_cflag &= ~CBAUD;
	tty->c_cflag |= code;

	return 0;
}
/* Set the line speed of a terminal line. */
Set the line speed of a terminal line.
Set the line speed of a terminal line .
static int tty_set_speed(struct termios *tty, const char *speed)
{
	int code;
	if ((code = tty_find_speed(speed)) < 0)
		return code;
	tty->c_cflag &= ~CBAUD;
	tty->c_cflag |= code;
	return 0;
}
static int tty_set_speed ( struct termios * tty , const char * speed ) { int code ; if ( ( code = tty_find_speed ( speed ) ) < 0 ) return code ; tty -> c_cflag &= ~ CBAUD ; tty -> c_cflag |= code ; return 0 ; }
Set the line speed of a terminal line.
Set the line speed of a terminal line .