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

Re: How to delete a file??


> 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


Felix Kollmann, DG5PT

Future Interactive 

email: fkollmann@gmx.net

Don't fear the future, because fear is the path to the dark side.
Fear is to angry. Angry is to hate and hate is to suffering.
-- Yoda