Item | Value |
Header file | stdio.h |
Declaration | int remove(const char *fname); |
Function | delete file by *fname. |
Return | returns zero on success or nonzero on error. |
#include <stdio.h> int main(int argc, char *argv[]) { if(remove("test")) printf("Remove Error"); return 0; }
22.28.remove | ||||
22.28.1. | remove |