.\" @(#)PEXCopyBytesToOC.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXCopyBytesToOC 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXCopyBytesToOC \- Copy Encoded Output Commands .SH SYNTAX .LP .IP void .4i PEXCopyBytesToOC\^(\^Display *\fIdisplay\fP\^, int \fIlength\fP\^, char *\fIdata\fP\^) .SH PARAMETERS .TP 1i \fIdisplay\fP A pointer to a display structure returned by a successful .B XOpenDisplay call. .TP \fIlength\fP The number of bytes to copy. .TP \fIdata\fP A pointer to the output command data. .SH RETURNS None .SH DESCRIPTION .\" indexing .IX PEXCopyBytesToOC .IX "Copy" "PEXCopyBytesToOC" .IX "Output Commands" PEXCopyBytesToOC .LP This function copies the specified number of bytes of data to the transport buffer. .LP 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. .LP .BR PEXStartOCs (3) must be called prior to this. .SH ERRORS None .SH SEE ALSO .LP .nf .BR PEXStartOCs (3) .BR PEXFinishOCs (3) .BR PEXGetOCAddr (3) .fi