Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXCopyBytesToOC(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXCopyBytesToOC(3)  —  Subroutines

Name

PEXCopyBytesToOC - Copy Encoded Output Commands

Synopsis

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

Arguments

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

lengthThe number of bytes to copy. 

dataA pointer to the output command data. 

Returns

None

Description

This function copies the specified number of bytes of data to the transport buffer. 

It is recommended that the number of bytes be a multiple of four as 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. 

PEXStartOCs must be called prior to this.

Errors

None

See Also

PEXStartOCs, PEXFinishOCs, PEXGetOCAddr

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026