.\" @(#)PEXCopyStructure.3 1.5 95/03/24 SMI; .so man3/pex.macs .TH PEXCopyStructure 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXCopyStructure \- Copy Structure .SH SYNTAX .LP .IP void .4i PEXCopyStructure\^(\^Display *\fIdisplay\fP\^, PEXStructure \fIsrc_structure\fP\^, PEXStructure \fIdst_structure\fP\^) .SH PARAMETERS .TP 1i \fIdisplay\fP A pointer to a display structure returned by a successful .B XOpenDisplay call. .TP \fIsrc_structure\fP The resource identifier of the source structure. .TP \fIdst_structure\fP The resource identifier of the destination structure. .SH RETURNS None .SH DESCRIPTION .\" indexing .IX PEXCopyStructure .IX "Copy" "PEXCopyStructure" .LP This function copies elements in the source structure to the destination structure. Both structures must already exist as valid structure resources. Elements already in the destination structure are overwritten. The element pointer and editing mode attributes of the source structure are copied to the destination structure as well. .SH DATA STRUCTURES .LP .nf typedef XID PEXStructure; .sp .fi .SH ERRORS .TP .SB BadPEXStructure The specified structure resource identifier is invalid. .SH SEE ALSO .LP .nf .BR PEXCreateStructure (3) .fi