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.
Item | Description |
---|---|
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.
Item | Description |
---|---|
ENOENT | The name parameter doesn't refer to an existing PAG entry. |