Previous PageTable Of Contents../index.htmlIndexNext Page

dx_fileopen( )

Description | Cautions | Example | Errors | If this

Name:

int dx_fileopen(filep, flags, pmode)

Inputs:

const char *filep

  filename

 

int flags

  type of operations allowed

 

int pmode

  permission mode

Returns:

file handle if success

 

-1 if failure

Category:

File Management

Top Of PageDescription

The dx_fileopen( ) function opens a file specified by filep, and prepares the file for reading and writing, as specified by flags. See the _open function in the Microsoft Visual C++ Run-Time Library Reference for more information.

Top Of PageCautions

Use dx_fileopen( ) instead of _open to ensure the compatibility of applications with the libraries across various versions of Visual C++.

Top Of PageExample

Top Of PageErrors

If this function returns -1 to indicate failure, a system error has occurred; use dx_fileerrno( ) to obtain the system error value. Refer to the dx_fileerrno( ) function for a list of the possible system error values.See Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Dialogic Corporation
All rights reserved
This page generated February, 2002