mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
pathfuncs.c add path_strip_leading_separators()
added to path_append as well Change-Id: Ieb6ec4f4c475ca5e60c8246c7f044bcc7651f6bf
This commit is contained in:
parent
777098fca9
commit
fe00906abb
3 changed files with 24 additions and 8 deletions
|
@ -87,6 +87,7 @@ int make_volume_root(int volume, char *dst);
|
|||
int path_strip_drive(const char *name, const char **nameptr, bool greedy);
|
||||
size_t path_basename(const char *name, const char **nameptr);
|
||||
size_t path_dirname(const char *name, const char **nameptr);
|
||||
size_t path_strip_leading_separators(const char *name, const char **nameptr);
|
||||
size_t path_strip_trailing_separators(const char *name, const char **nameptr);
|
||||
void path_correct_separators(char *dstpath, const char *path);
|
||||
void path_remove_dot_segments(char *dstpath, const char *path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue