remove

Function Prototype

int remove(const char *pathname);

Function

  • unlink if pathname is a file
  • rmdir if pathname is a dir