ISDN_RELEASE(7isdn)


ISDN_RELEASE -- release resources from an ISDN device

Synopsis

   #include <sys/stream.h>
   #include <sys/mdi.h>
   #include <sys/scoisdn.h>
   

typedef struct isdn_release { isdnU16_t ApplId; /* application identifier */ } isdn_release_t;

Description

Notifies the MDI ISDN driver that the /dev/netx device associated with a particular application identifier has closed, and that the identifier and associated resources are to be released.

An application does not issue this ioctl.

Parameters

The ApplId field of the isdn_release structure in the data portion of the ioctl contains the application identifier to be released.

Data returned

None.

M_IOCACK(D7str)
Acknowledge successful completion of the operation. Set ioc_rval set to zero.

M_IOCNAK(D7str)
Acknowledge unsuccessful completion of the operation. Set ioc_rval to -1, and ioc_error set to EINVAL if ApplId is invalid. For other error conditions, set ioc_error to an appropriate value from errnos(D5).

References

Intro(7isdn)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
HDK 7.1.0b - 15 March 2000