summaryrefslogtreecommitdiff
path: root/contrib/openpam/lib/pam_end.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/openpam/lib/pam_end.c')
-rw-r--r--contrib/openpam/lib/pam_end.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/openpam/lib/pam_end.c b/contrib/openpam/lib/pam_end.c
index 0fbfdf872a3f..b7c170f32a38 100644
--- a/contrib/openpam/lib/pam_end.c
+++ b/contrib/openpam/lib/pam_end.c
@@ -82,3 +82,17 @@ pam_end(pam_handle_t *pamh,
return (PAM_SUCCESS);
}
+
+/*
+ * Error codes:
+ *
+ * PAM_SYSTEM_ERR
+ */
+
+/**
+ * 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.
+ */