A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jb55/extname.c below:

GitHub - jb55/extname.c: extname in c

extname.c

extname for clib

Installation

Install 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"), "") == 0
API const char *extname(const char *filename);

arguments

returns

License

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