Serial ClearRX

From WikiPrizm
Revision as of 06:40, 1 August 2014 by Gbl08ma (talk | contribs) (Created page with "{{syscall | name = Serial_ClearRX | header = fxcg/serial.h | index = 0x1BC1 (not yet included in libfxcg!) | signature = int Serial_ClearRX(void) | synopsis = Clears the seria...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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.