DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

sdi_device_free(D3sdi)


sdi_device_free -- free an SDI layered device description structure

Synopsis

   #include <sys/kmem.h>
   #include <sys/sdi.h>
   #include <sys/ddi.h>
   

void sdi_device_free(sdi_device_t *device_p);

Description

sdi_device_free( ) frees an sdi_device(D4sdi) structure

Arguments


device_p
Pointer to an sdi_device(D4sdi) structure previously allocated by the sdi_device_alloc(D3sdi) function.

Return Values

None.

Usage

The device_p pointer must point to an sdi_device structure obtained through a previous call to the sdi_device_alloc( ) function.

Context and synchronization

Non-blockable context.

Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function.

Hardware applicability

All

Version applicability

sdi: 4 layered drivers

References

sdi_device(D4sdi), sdi_device_alloc(D3sdi)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005