pam_end3
Terminate the pam transaction
Usage
#include <sys/types.h>
#include <security/pam_appl.h>
int
pam_end(pam_handle_t *pamh, int status);
Library
library “libpam”
Overview
The pam_end function terminates a PAM transaction and destroys the corresponding PAM context, releasing all resources allocated to it.
The status argument should be set to the error code returned by the last API call before the call to pam_end
Return values
The pam_end function returns one of the following values:
- [PAM_SYSTEM_ERR]
-
System error.
Releases
115 releases since Mac OS X 10.5; the text changed 1 time.