sqlgmcpy API - Copy data from one memory area to another
Copies data from one memory area to another. This API is used in host programming languages, FORTRAN and COBOL, that do not provide memory block copy functions.
Authorization
None
Required connection
None
API include file
sqlutil.h
API and data structure syntax
SQL_API_RC SQL_API_FN
sqlgmcpy (
void * pTargetBuffer,
const void * pSource,
sqluint32 NumBytes);
sqlgmcpy API parameters
- pTargetBuffer
- Output. Area into which to move the data.
- pSource
- Input. Area from which to move the data.
- NumBytes
- Input. A 4-byte unsigned integer representing the number of bytes to be transferred.