Returns status indicating whether the file is present on the file system.
int file_present ( filename ) char *filename;
The file_present subroutine determines the presence of a file.
Parameter | Description |
---|---|
filename | Character pointer to full path name of file. |
The file_present subroutine returns one of the following values:
Return Value | Description |
---|---|
0 | File is not present. |
1 | File is present. |