Returns the PAG identifier for a PAG name.
int kcred_getpagid (name) char *name;
Given a PAG type name, the kcred_getpagid subroutine returns the PAG identifier for that PAG name.
name | A pointer to the name of the PAG type whose integer PAG identifer is to be returned. |
A return value greater than or equal to 0 is the PAG identifier. A value less than 0 indicates an error.
ENOENT | The name parameter doesn't refer to an existing PAG entry. |
__pag_getid System Call, __pag_getname System Call, __pag_getvalue System Call, __pag_setname System Call, __pag_setvalue System Call, kcred_getpagname Kernel Service, and kcred_setpagname Kernel Service.