User Tools

Site Tools


solaris:ddi_get_cred.9f

ddi_get_cred


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 in Oracle Solaris 11.4


solaris/ddi_get_cred.9f.txt · Last modified: 2023/07/19 08:57 by A User Not Logged in