PToCStr (LabVIEW Manager Function)

int32 PToCStr(pstr, cstr);

Purpose

Converts a Pascal string to a C string. This function works even if the pointers pstr and cstr refer to the same memory location. The function assumes cstr is large enough to contain pstr.

Parameters

Name Type Description
pstr PStr Pointer to a Pascal string.
cstr CStr Pointer to a C string.

Return Value

The length of the string.