openpam_restore_cred3
Restore credentials
Usage
#include <sys/types.h>
#include <security/pam_appl.h>
#include <security/openpam.h>
int
openpam_restore_cred(pam_handle_t *pamh);
Library
library “libpam”
Overview
The openpam_restore_cred function restores the credentials saved by openpam_borrow_cred(3).
Return values
The openpam_restore_cred function returns one of the following values:
- [PAM_NO_MODULE_DATA]
-
Module data not found.
- [PAM_SYSTEM_ERR]
-
System error.
Releases
Unchanged in 106 releases since Mac OS X 10.6.