kcred_getpagid Kernel Service
Purpose
Returns the PAG identifier for a PAG name.
Syntax
int kcred_getpagid (name)
char *name;Description
Given a PAG type name, the kcred_getpagid subroutine returns the PAG identifier for that PAG name.
Parameters
| Item | Description |
|---|---|
| name | A pointer to the name of the PAG type whose integer PAG identifer is to be returned. |
Return Values
A return value greater than or equal to 0 is the PAG identifier. A value less than 0 indicates an error.
Error Codes
| Item | Description |
|---|---|
| ENOENT | The name parameter doesn't refer to an existing PAG entry. |