_IceReadSkip

Name

_IceReadSkip -- advance to the end of the message when a bad header is read

Synopsis

#include <X11/ICE/ICEmsg.h>

void _IceReadSkip(IceConn iceConn, unsigned long int nbytes);

Description

The interface _IceReadSkip() shall advance to the end of the message when a header with a bad major or minor opcode is read, so the next message can be processed correctly.

The parameter iceConn shall specify the Inter-Client Exchange connection.

The parameter nbytes shall specify the number of bytes to skip. If the number of bytes specified is less than 512, the interface shall assume 512 bytes should be skipped.

See Also

_IceRead(), _IceWrite().