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