Zen API
|
Returns the parent directory for a given file or directory path.
The directory (output) argument can refer to the same memory address as the path (input) argument.
If the path contains embedded relative path components, this function will not attempt to evaluate the meaning of those components.
path | File or directory path. |
directory | Receives the parent directory. |
capacity | Maximum number of characters (including null terminator). |