Previous PageTable Of Contents../index.htmlIndexNext Page

gfdOpenStatusFile( )

Description | Example

Name:

int gfdOpenStatusFile (int chassis, int mode)

Inputs:

int chassis

  • The chassis number.
 

int mode

  • The access mode of the file, which is defined in the include file fcntl.h. The mode passed must be O_RDONLY.

Outputs:

None

 

Returns:

Handle to the open status file

  • Successful.

-1

  • An error occurred.

Includes:

gfdstatu.h

 

Top Of PageDescription

The gfdOpenStatusFile( ) function prepares a status file for reading by other functions. This routine creates the name of the status file and attempts to open it. The path for the status file is obtained from the GFAX environment variable. Low-level functions, such as gfdReadStatusFileHeader and gfdReadStatusFileRecord, cannot be used unless gfdOpenStatusFile is called first successfully.

Top Of PageExample


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002