# PXFSTRUCTCOPY

POSIX Subroutine: Copies the contents of one structure to another.

## Module

USE IFPOSIX

CALL PXFSTRUCTCOPY (structname,jhandle1,jhandle2,ierror)

structname | (Input) Character. The name of the structure.
jhandle1 | (Input) INTEGER(4). A handle to the structure to be copied.
jhandle2 | (Input) INTEGER(4). A handle to the structure that will receive the copy.
ierror | (Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

## Example

See the example in PXFSTRUCTCREATE

Parent topic: POSIX* Library Routines