Difference between revisions of "Serial IsOpen"
From WikiPrizm
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | {{ | + | {{syscall |
− | = | + | | name = Serial_IsOpen |
− | + | | index = 0x1BC6 | |
− | + | | signature = int Serial_IsOpen(void) | |
− | + | | header = fxcg/serial.h | |
− | + | | synopsis = 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. | |
− | + | }} | |
− | [[ |
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.