informix
INFORMIX-ESQL/C Programmer's Manual
ESQL/C Function Library

deccopy()

The deccopy() function copies one decimal structure to another.

Syntax

The deccopy() function does not return a status value. To determine the success of the copy operation, look at the contents of the decimal structure to which the target argument points.

Example

The file deccopy.ec in the demo directory contains the following sample program.

Output


INFORMIX-ESQL/C Programmer's Manual, Version 9.21
Copyright © 1999, Informix Software, Inc. All rights reserved