CDEVHIO::CloseSio Member Function

Syntax

#include <kmc/hio/CDevHIO.h>

int CloseSio(
     int ch
);

Arguments

Name Description
ch Channel number (from 0 to DEVHIO_SIO_MAX_CHANNEL-1).

Return Values

Negative value: Error.
Zero or greater: Exited normally.

Description

Closes a serial communication channel.

Note:If CloseSio is called without first calling DisconnectSio, the library calls DisconnectSio.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL