| _CP_system | Index Level | _CP_time |
| Syntax | _CP_TERM(CPSTR* string) |
| Category | C Interface |
| Type | C Macro |
| Description | terminates a CPSTR* string with a 0x00. |
| Options | |
| See Also | C Functions introduction |
| 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. |
| Warnings | The _CP_TERM macro must be used on all CPSTR* whose _CP_SADDR's are passed to standard Unix library routines. |
| Compatibility | AP 6.1 |
| _CP_system | Index Level | _CP_time |