remove
int remove (const char fileName[]);
Purpose
Causes the specified file or empty directory to be made inaccessible by that name. Any subsequent attempts to open this file will fail unless it is created again.
Parameters
| Input | ||
| Name | Type | Description |
| fileName | const char [] | Contains the name of the file or empty directory that is no longer accessible. A subsequent attempt to open that file using this name fails, unless the file is created again. |
Return Value
| Name | Type | Description |
| status | int | Contains the resulting status of the function. If successful, remove returns 0. If an error occurs, remove returns a nonzero value and sets errno to a nonzero value. |
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later