extname for clib
InstallationInstall with clib:
$ clib install jb55/extname.c
Example
// build with -Ideps #include "extname/extname.h" strcmp(extname("some/extension.ext"), ".ext") == 0 strcmp(extname(".derp"), ".derp") == 0 strcmp(extname("."), ".") == 0 strcmp(extname("nothing"), "") == 0API const char *extname(const char *filename);
arguments
filename
a filenamereturns
MIT
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4