5 #include "lib1stclass.h"
6 int remove_path(const char *path){
9 if((dirp = opendir(path))==NULL){
13 while( (dp = readdir(dirp)) != NULL){
14 if(!strcmp(dp->d_name, ".") || !strcmp(dp->d_name,"..")){
18 safe_strcat(file, path);
19 safe_strcat(file, "/");
20 safe_strcat(file, dp->d_name);