PEXCopyBytesToOC - Copy Encoded Output Commands


Synopsis

   void PEXCopyBytesToOC(
        Display *display,
        int length,
        char *data
   )

Arguments

display
A pointer to a display structure returned by a successful XOpenDisplay call.

length
The number of bytes to copy.

data
A pointer to the output command data.

Returns

None.

Description

Invoke PEXCopyBytesToOC to copy the specified number of bytes of data to the transport buffer.

It is recommended that the number of bytes be a multiple of four because the protocol format requires output commands to be aligned on four-byte boundaries. It is the application's responsibility to ensure that alignment restrictions are met.

You must first invoke PEXStartOCs.

Errors

None.

See Also

For a list of related topics and functions, see Sending Encoded Output Commands.