1 #define _POSIX_C_SOURCE 200809L
7 static void t(char *p, char *b) {
9 char *s = dirname(tmp);
12 error("dirname(\"%s\") returned \"%s\"; expected \"%s\"\n", p, s, b);
17 if (strcmp(dirname(0), ".") != 0)
18 error("dirname(0) returned \"%s\"; expected \".\"\n", dirname(0));
20 t("/usr/lib", "/usr");