OpenDOF Project
DOF_PCR_DECLSPEC void PCRString_Copy ( char *  dest,
const char *  src,
uint32  n 
)

Copy a string from src to dest, up to the given length.

Equivalent to the standard C library function strncpy().

Parameters
destPointer to a buffer to receive the copied string. Must not be NULL.
srcPointer to a string to be copied. Must not be NULL.
nMaximum number of characters to copy. Can be 0, in which case no action is taken.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22