Serial ClearRX

From WikiPrizm
Revision as of 01:37, 26 March 2022 by Dr-carlos (talk | contribs) (Serial_ClearRX is included in libfxcg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Synopsis

Header: fxcg/serial.h
Syscall index: 0x1BC1
Function signature: int Serial_ClearRX(void)

Clears the serial receive buffer.

Returns

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