Difference between revisions of "Serial IsOpen"

From WikiPrizm
Jump to navigationJump to search
 
Line 8: Line 8:
 
| comments = Use [[Serial_Open]] to open the port, and [[Serial_Close]] to close it.
 
| comments = Use [[Serial_Open]] to open the port, and [[Serial_Close]] to close it.
 
}}
 
}}
 +
[[Category:Syscalls:Serial]]

Latest revision as of 17:23, 30 May 2012


Synopsis

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

Checks whether the serial port is ready to use.

Returns

1 if the serial port is currently open, or 3 otherwise.

Comments

Use Serial_Open to open the port, and Serial_Close to close it.