cxong/tinydir — pull request #7 by AMDG2 (2014-03-26 08:57:43+00:00)
Title: Add basic extension detection.

I was in need to browse directories in C. I find tinydir lib. But I need to get files extensions, so here is the code.
I added a member to tinydir_file structure : (char *) extension.
This member is filled with the pointer to the last dot find in the
filename.
Searching the last dot is made using the standard C function : strrchr()