file_present

Purpose

Returns status indicating whether the file is present on the file system.

Syntax


int  file_present ( filename )
char *filename;

Description

The file_present subroutine determines the presence of a file.

Parameters

Parameter Description
filename Character pointer to full path name of file.

Return Value

The file_present subroutine returns one of the following values:

Return Value Description
0 File is not present.
1 File is present.