NSString object whose contents are derived from the specified C-string path.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A C string representation of a pathname.
The number of characters in
NSString object converted from the C-string representation
string with length
len of a pathname in the current file system.
Use this method if your code receives paths as C strings from system routines.