Query: ddi_get_cred
OS: opensolaris
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ddi_get_cred(9F) Kernel Functions for Drivers ddi_get_cred(9F)NAMEddi_get_cred - returns a pointer to the credential structure of the callerSYNOPSIS#include <sys/types.h> #include <sys/ddi.h> #include <sys/sunddi.h> cred_t *ddi_get_cred(void)INTERFACE LEVELSolaris DDI specific (Solaris DDI).DESCRIPTIONddi_get_cred() returns a pointer to the user credential structure of the caller.RETURN VALUESddi_get_cred() returns a pointer to the caller's credential structure.CONTEXTddi_get_cred() can be called from user context only.SEE ALSOWriting Device Drivers SunOS 5.11 11 Apr 1991 ddi_get_cred(9F)