cfunc.term C Macro/C Functions

cfunc.term

Command cfunc.term C Macro/C Functions
Applicable release versions: AP 6.1
Category C Functions (120)
Description terminates a CPSTR* string with a 0x00.
Syntax _CP_TERM(CPSTR* string)
Options
Example
CPSTR *s= _CP_mkstr( "Enter name " );
_CP_TERM( s );
printf( _CP_ADDR( s ) );
Creates a string and terminates it with a 0, so that 'printf' can be 
used.
Purpose
Related cfunc.introduction