DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

do_drvctl(D3)


do_drvctl -- call another driver's drvctl(D2) entry point routine

Synopsis

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

int do_drvctl(chan_handle_t chan_handle, int cmd, void *arg);

Description

do_drvctl( ) calls another driver's drvctl(D2) entry point routine. The driver must first obtain a channel handle with the drv_open(D3) function.

Arguments


chan_handle
Channel handle reteurned by the drv_open(D3) function in the other driver.

cmd
cmd parameter to be passed to the other driver's drvctl(D2) routine.

arg
arg parameter to be passed to the other driver's drvctl(D2) routine.

Return values

Usage

Context and synchronization

User or blockable context.

Hardware applicability

All

Version applicability

ddi: 8, 8mp

Differences between versions

References

drvctl(D2)

``Layered device drivers'' in HDK Technical Reference


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