withCString
Creates and initializes an OSString from a C string.
Declaration
static OSString * withCString(
const char *cString);Parameters
- cString:
The C string to copy into the new OSString.
Return Value
An instance of OSString representing the same characters as aString, and with a reference count of 1; NULL on failure.