DESCRIPTION
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: