Retrieves the name of a PAG.
int kcred_getpagname (type, buf, size) int type; char *buf; int size;
The kcred_getpagname kernel service retrieves the name of a PAG type given its integer value.
If successful, a 0 is returned. If unsuccessful, an error code value less than 0 is returned. The PAG name associated with type is copied into the caller-supplied buffer buf.
EINVAL | The value of id is less than 0 or greater than the maximum PAG identifier. |
ENOENT | There is no PAG associated with id. |
ENOSPC | The size parameter is insufficient to hold the PAG name. |
__pag_getid System Call, __pag_getname System Call, __pag_getvalue System Call, __pag_setname System Call, __pag_setvalue System Call, kcred_getpagid Kernel Service, and kcred_setpagname Kernel Service.