[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Understanding the Diagnostic Subsystem for AIX

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.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]