Advertisement
Guest User

ESCAPE

a guest
Oct 19th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. void Cmd_delete(char *tr[]){
  2.  
  3. if (unlink(tr[1])==0){ printf("\nfichero borrado");}
  4. else if(rmdir(tr[1])==0){ printf("\ndirectorio borrado");}
  5. else perror("Fhe following error occurred");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement