1 Managing Strings

1 Q3CString_GetLength

You can use the Q3CString_GetLength function to get the length of a C string object.

TQ3Status Q3CString_GetLength (
TQ3StringObject stringObj, 
unsigned long *length);
stringObj A C string object.
length On exit, the length of the specified C string object.

DESCRIPTION


The Q3CString_GetLength function returns, in the length parameter, the number of characters in the data associated with the C string object specified by the stringObj parameter. The length returned does not include the null character that terminates a C string. You should use Q3CString_GetLength to get the length of only string objects of type kQ3StringTypeCString.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 14 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker