PStrNCpy (LabVIEW Manager Function)

PStr PStrNCpy(dst, src, n);

Purpose

Copies the Pascal string src to the Pascal string dst. If the source string is greater than n, this function copies only n bytes. The function assumes dst is large enough to contain src.

Parameters

Name Type Description
dst PStr Pointer to a Pascal string.
src PStr Pointer to a Pascal string.
n int32 Maximum number of bytes you want to copy, including the length byte.

Return Value

A copy of the destination Pascal string pointer.