Lines Matching defs:remove_dir
191 static int remove_dir(char *);
2158 * want to restore it back just in case remove_dir()
2165 if (remove_dir(nam_p) < 0) {
8127 remove_dir(char *path)
8134 #define MSG1 "remove_dir() failed to stat(\"%s\") "
8135 #define MSG2 "remove_dir() failed to remove_dir(\"%s\") "
8136 #define MSG3 "remove_dir() failed to unlink(\"%s\") "
8142 msg(ERRN, "remove_dir() failed to opendir(\"%s\") ", path);
8147 msg(ERRN, "remove_dir() failed to chdir(\"%s\") ", path);
8169 if (remove_dir(direct->d_name) == -1) {
8193 msg(ERRN, "remove_dir() failed to chdir(\"..\") ");
8209 msg(ERRN, "remove_dir() failed to rmdir(\"%s\") ", path);