cfunc.str_alloc C Function/C Functions

cfunc.str_alloc

Command cfunc.str_alloc C Function/C Functions
Applicable release versions: AP 6.1
Category C Functions (120)
Description allocates space for a CPSTR.
Equivalent of "malloc()", but returns a CPSTR*. "expression" should contain the length of the string buffer to allocate. A 0 will be returned if failure occurs.
Syntax CPSTR* _CP_str_alloc(int expression)
Options
Example
Purpose
Related cfunc.introduction
cfunc.str_free
cfunc.str_realloc