Contents

initWithCString

Initializes an OSString from a C string.

Declaration

virtual bool initWithCString(
 const char *cString);

Parameters

  • cString:

    The C string to copy into the new OSString.

Return Value

true on success, false on failure.

Overview

Not for general use. Use the static instance creation method withCString instead.

See Also

Miscellaneous