#include <oskit/x86/pc/com_cons.h>void com_cons_flush(int port);
Waits until the transmit FIFOs are empty on the serial port specified. This is useful as it allows the programmer to know that the message sent out has been received. This is necessary before resetting the UART or changing settings if it is desirable for any data already ``sent'' to actually be transmitted.
- port
- COM port to flush. Must be 1, 2, 3 or 4.
- inb
- 10.3.7