#include "internal.h" char* os·dirname(char *path) { char *sep; if((sep = strrchr(path, '/'))) *sep = 0; return path; }