[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to delete a file??



Felix Kollmann wrote:

> Hi,
>
> > I don't know how to delete a file in C without to use the fonction exec()
> > with "rm".
>
> int remove (char *filename);            removes a file
> int unlink (char *filename);            unlinks a link
> int rmdir (char *filename);             removes a directory

What's the differince in "unlinking" and "removing" a file?