pe_unit_clone

Creates a new unit of measure object from an existing one

Usage syntax

PE_UNIT pe_unit_clone (PE_UNIT unit);

Parameters
unit The pointer to an existing unit of measure object
Description

This function creates a duplicate unit of measure from an existing unit of measure object.

Returns

On success, the new unit; on failure, a null pointer

Examples

PE_UNIT dd2 = pe_unit_clone(dd);