Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ddi_get_cred(9F) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cred(9S)

ddi_get_cred(9F)

NAME

ddi_get_cred − returns a pointer to the credentials structure of the caller. 

SYNOPSIS

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

INTERFACE LEVEL

SPARC architecture specific (SPARC DDI). 

DESCRIPTION

ddi_get_cred() returns a pointer to the cred(9S) structure of the caller. 

RETURN VALUES

ddi_get_cred() returns a pointer to the caller’s credentials structure.

CONTEXT

ddi_get_cred() can be called from user context only.

SEE ALSO

cred(9S)

SunOS 5.1  —  Last change: 11 Apr 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026