From WikiPrizmJump to navigationJump to search
Syscall index: 0x1354
Function signature: int Comm_Close(int mode)
Resets all communication buffers and closes the serial or USB communication channel, depending on what is open.
- mode - if 1, the channel is closed immediately without waiting for pending transmissions; otherwise, the function will not close the communication channel if there are pending transmissions.
- 0 if successful;
- 5 if there are pending transmissions (only when mode is not 1).