Skip to content

mofosyne/extractFilePathComponents.c

Repository files navigation

extractFilePathComponents.c

CI/CD Status Badge

Extract Directory, Filename And Extension from filepath

install

$ clib install mofosyne/extractFilePathComponents.c

usage

char *path = "./hello/test.exp";
char dir[200] = {0};
char name[200] = {0};
char ext[200] = {0};
extractFilePathComponents(path, dir, sizeof(dir), name, sizeof(name), ext, sizeof(ext));

license

GPL-3.0-or-later

About

Minimal Filename Extraction Of Path And Extention

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published