Previous PageTable Of Contents../index.htmlIndexNext Page

dx_fileclose( )

Description | Cautions | Example | Errors | See Also

Name:

int dx_fileclose(handle)

Inputs:

int handle

  handle returned from dx_fileopen( )

Returns:

0 if success

 
 

-1 if failure

 

Category:

File Management

Top Of PageDescription

The dx_fileclose( ) function closes a file associated with the device handle returned by the dx_fileopen( ) function. See the _close function in the Microsoft Visual C++ Run-Time Library Reference for more information.

Top Of PageCautions

Use dx_fileclose( ) instead of _close 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.

Top Of PageSee 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