This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_uart_flush

Function Documentation

int rc_uart_flush(int bus)

flushes (discards) any data received but not read, or data written but not sent.

Parameters

bus[in] The bus number /dev/ttyO{bus}

Returns

0 on success or -1 on failure