DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

sdi_device_copy(D3sdi)


sdi_device_copy -- copy an sdi_device(D4sdi) structure

Synopsis

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

void sdi_device_copy(sdi_device_t *src, sdi_device_t *dest)

Description

sdi_device_copy( ) copies all of the significant members of an sdi_device(D4sdi) structure from one location to another, regardless of the version of the src and dest structures.

Both src and dest must have been allocated using the sdi_device_alloc(D3sdi) function and prepared using the sdi_device_prep(D3sdi) function.

Arguments


src
Pointer to the sdi_device structure that is to be copied.

dest
Pointer to the sdi_device the structure to receive the copy.

Return values

None.

Usage

sdi_device_copy( ) copies all of the driver-accessable members of the SDI device structure.

Context and synchronization

Non-blockable context.

Hardware applicability

All

Version applicability

sdi: 4 layered drivers

References

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