#include <stdio.h>
#include <IOKit/IOUserClient.h>

 IOReturn IOUserClient ::  clientDied( void ){
printf ("clientDied");
};

/*initWithTask


Initializes a user client instance. 
public

virtual bool initWithTask( 
    task_t owningTask,
    void *securityToken,
    UInt32 type, 
    OSDictionary *properties); 
Parameters
owningTask
The Mach task representing the user task that is opening the connection.
Discussion 

The default implementation ignores all parameters and invokes IOService::init. Note that in Mac OS X, each process is based on a Mach task and one or more Mach threads. For more information on the composition of a Mach task and its relationship with Mach threads, see "Tasks and Threads".*/
 bool  IOUserClient ::    initWithTask( 
    task_t owningTask,
    void *securityToken,
    UInt32 type, 
    OSDictionary *properties){
printf ("initWithTask",owningTask,securityToken,type,*properties);
}; 
