Serial ReadSingle

From WikiPrizm
Revision as of 06:30, 1 August 2014 by Gbl08ma (talk | contribs) (Created page with "{{syscall | name = Serial_ReadSingle | header = fxcg/serial.h | index = 0x1BB9 (not yet included in libfxcg!) | signature = int Serial_ReadSingle(unsigned char* out) | synopsi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Header: fxcg/serial.h
Syscall index: 0x1BB9 (not yet included in libfxcg!)
Function signature: int Serial_ReadSingle(unsigned char* out)

Fetches a single byte from the serial input buffer.


  • out - Pointer to unsigned char that will receive the fetched byte.


  • 0 if successful,
  • 1 if the receive buffer is empty,
  • 3 if the serial channel is not open.