Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversddi_get_cred(9F)


NAME

 ddi_get_cred - returns a pointer to the credential structure of the caller

SYNOPSIS

 
#include <sys/types.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
cred_t *ddi_get_cred(void);

INTERFACE LEVEL

 

Solaris DDI specific (Solaris DDI).

DESCRIPTION

 

ddi_get_cred() returns a pointer to the user credential structure of the caller.

RETURN VALUES

 

ddi_get_cred() returns a pointer to the caller's credential structure.

CONTEXT

 

ddi_get_cred() can be called from user context only.

SEE ALSO

 

Writing Device Drivers


SunOS 5.9Go To TopLast Changed 11 Apr 1991

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.