Increments the reference count for the current credentials structure.
#include <sys/cred.h>
struct ucred * crref ( void )
This kernel service does not require any parameters.
The crref kernel service increments the reference count of the current credentials structure and returns a pointer to the current credentials structure to the invoker.
The crref kernel service can be called from the process environment only.
Item | Description |
---|---|
Nonzero value | A pointer to the current credentials structure. |