Previous PageTable Of Contents../index.htmlIndexNext Page

cc_Close( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_Close(linedev)

Inputs:

LINEDEV linedev

  line device handle

Returns:

0 on success
< 0 on failure

Includes:

cclib.h

Category:

System control

Mode:

synchronous

Technology:

BRI/2; BRI/SC; PRI (all protocols)

Top Of PageDescription

The cc_Close( ) function closes a previously opened line device. The application can no longer access the device via the specified line device handle after this function is called.

Parameter

Description

linedev:

The line device handle returned when the line device is opened.

Top Of PageCautions

Top Of PageExample

Top Of PageErrors

If the function returns < 0 to indicate failure, use the cc_CauseValue( ) function to retrieve the reason code for the failure. The cc_ResultMsg( ) function can be used to interpret the returned value. Error codes are defined in the files ccerr.h, isdnerr.h and isdncmd.h.

Typically, a < 0 return code for the cc_Close( ) function indicates that the function reference (the device number) is not valid for the function call.

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated December, 2001