| remove | Function (Macro) |
| stdio.h |
| #define remove unlink |
Macro that removes a file.
remove deletes the file specified by filename. It is a macro that simply translates its call to a call to unlink (name known from UNIX). So, both remove and unlink are equal. Although ANSI C proposes rename, unlink is more common in UNIX programs.