Previous Page: CPXstrcpyFirst PageNext Page: CPXtreewrite

CPXstrlen


Description

The routine CPXstrlen() is used to determine the length of a string. It is exactly the same as the standard C library routine strlen(). This routine is provided so that strings passed to the message function routines (see CPXaddfuncdest()) can be analyzed by languages that do not allow dereferencing of pointers (e.g., older versions of Visual Basic).

Return Value

The routine returns the length of the string.

Synopsis

int CPXPUBLIC CPXstrlen (char *ptr);

Arguments


char *ptr
A pointer to a character string.

Example

len = CPXstrlen (p);

Previous Page: CPXstrcpyFirst PageNext Page: CPXtreewrite