cfunc.mkstrl

C Function/C Functions, Releases: AP 6.1

Create a CPSTR* from a c string

Syntax

CPSTR* _CP_mkstrl(char* cstring, int expression)

Description

dynamically allocates a CPSTR* of length expression and fills it with a copy of cstring.

Example

CPSTR * s = _CP_mkstr('Hi',2);

See Also

Command Name Type Description
cfunc.introduction Introductory Overview

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.