Fills a buffer with the file system's native string representation of a given URL's path.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
CFURLobject whose native file system representation you want to obtain.
trueto return an absolute path name.
A pointer to a character buffer. On return, the buffer holds the native file system's representation of
url. The buffer is null-terminated. This parameter must be at least
maxin size for the file system in question to avoid failures for insufficiently large buffers.
The maximum number of characters that can be written to
true if successful,
false if an error occurred.
No more than
max bytes are written to
url requires more than
max bytes to represent itself, including the terminating null byte, this function returns
false. To avoid this possible failure, you should pass a buffer with size of at least the maximum path length for the file system in question.