- Add detailed build and bootstrap instructions to README.md. - Convert all source and header files from .c/.h to .c.md/.h.md. - Add bootstrap.sh script for automated building across version history. - Update Makefile and sources.mk to reflect new markdown-based source organization.
217 B
217 B
#include <string.h>
#include "utils.h"
const char *
extract_file_ext(const char *path)
{
const char *dot;
dot = strrchr(path, '.');
if (NULL == dot || dot == path)
return (NULL);
return (dot + 1);
}