cf_path_directory_of¶
Category: path
GitHub: cute_string.h
Returns the directory of a given file or directory. Returns a new string.
| Parameters | Description |
|---|---|
path |
The path string. |
Return Value¶
Returns a new dynamic string. Free with sfree.
Remarks¶
Shortform: spdir_of(path).
Related Pages¶
cf_path_get_filename
cf_path_top_directory
cf_path_pop
cf_path_normalize