HM_stracpy()

Copies a string of absolute length.

Syntax

char * HM_stracpy(char * dest, char * source, int n);

Type

HyperMesh hmlib Function

Inputs

dest
A pointer to the destination string.
source
A pointer to the source string.
n
The number of characters to copy.

Example

This function copies *n-1 characters from *dest to *source, and then NULL terminates *dest at the *nth position.

Errors

None.