ClearCommBreak

2.x

  int ClearCommBreak(idComDev)    
  int idComDev; /* device to be restored */

The ClearCommBreak function restores character transmission and places the communications device in a nonbreak state.

Parameters

idComDev

Identifies the communications device to be restored. The OpenComm function returns this value.

Return Value

The return value is zero if the function is successful, or –1 if the idComDev parameter does not identify a valid device.

Comments

This function clears the communications-device break state set by the SetCommBreak function.

See Also

OpenComm, SetCommBreak