MCPcopy Create free account
hub / github.com/F-Stack/f-stack / extractFilename

Function extractFilename

freebsd/contrib/zstd/programs/fileio.c:766–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764}
765
766static const char*
767extractFilename(const char* path, char separator)
768{
769 const char* search = strrchr(path, separator);
770 if (search == NULL) return path;
771 return search+1;
772}
773
774/* FIO_createFilename_fromOutDir() :
775 * Takes a source file name and specified output directory, and

Callers 1

Calls 1

strrchrFunction · 0.85

Tested by

no test coverage detected