sppop¶
Category: path
GitHub: cute_file_system.h
Removes the rightmost file or directory from the path.
Parameters | Description |
---|---|
s | The path string. |
Return Value¶
If the string is not a dynamic string from CF's string API, a new string is returned. Otherwise the string is modified in-place. You must call sfree if a new dynamic string is returned, when done.
Remarks¶
sp
stands for "sting path".
Related Pages¶
spfname
spfname_no_ext
spext
spext_equ
spnorm
sppopn
spcompact
spdir_of
sptop_of