Serial ClearRX

From WikiPrizm
Jump to: navigation, search


Synopsis

Header: fxcg/serial.h
Syscall index: 0x1BC1 (not yet included in libfxcg!)
Function signature: int Serial_ClearRX(void)

Clears the serial receive buffer.

Returns

  • 0 if successful,
  • 3 if the serial channel is not open.