Difference between revisions of "Serial ClearRX"

From WikiPrizm
Jump to navigationJump to search
(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...")
 
m (Serial_ClearRX is included in libfxcg)
 
Line 2: Line 2:
 
| name = Serial_ClearRX
 
| name = Serial_ClearRX
 
| header = fxcg/serial.h
 
| header = fxcg/serial.h
| index = 0x1BC1 (not yet included in libfxcg!)
+
| index = 0x1BC1
 
| signature = int Serial_ClearRX(void)
 
| signature = int Serial_ClearRX(void)
 
| synopsis = Clears the serial receive buffer.
 
| synopsis = Clears the serial receive buffer.

Latest revision as of 01:37, 26 March 2022


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.