Difference between revisions of "Serial IsOpen"

From WikiPrizm
Jump to navigationJump to search
Line 1: Line 1:
{{DISPLAYTITLE:Serial_IsOpen}}
+
{{syscall
== Synopsis ==
+
| name = Serial_IsOpen
'''Syscall index:''' 0x1BC6
+
| index = 0x1BC6
 
+
| signature = int Serial_IsOpen(void)
'''Function signature:''' int Serial_IsOpen(void)
+
| header = fxcg/serial.h
 
+
| synopsis = Checks whether the serial port is ready to use.
== Returns ==
+
| returns = 1 if the serial port is currently open, or 3 otherwise.
3 if the serial port is not open, 1 otherwise.
+
| comments = Use [[Serial_Open]] to open the port, and [[Serial_Close]] to close it.
 
+
}}
[[Category:Syscalls|Serial_IsOpen]]
 

Revision as of 21:12, 14 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.