summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/lib/pam_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/openpam/lib/pam_error.c')
-rw-r--r--contrib/openpam/lib/pam_error.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/openpam/lib/pam_error.c b/contrib/openpam/lib/pam_error.c
index aded8f1..cbee427 100644
--- a/contrib/openpam/lib/pam_error.c
+++ b/contrib/openpam/lib/pam_error.c
@@ -62,3 +62,21 @@ pam_error(pam_handle_t *pamh,
free(rsp); /* ignore response */
return (r);
}
+
+/*
+ * Error codes:
+ *
+ * !PAM_SYMBOL_ERR
+ * PAM_SYSTEM_ERR
+ * PAM_BUF_ERR
+ * PAM_CONV_ERR
+ */
+
+/**
+ * The =pam_info function displays an error message through the
+ * intermediary of the given PAM context's conversation function.
+ *
+ * >pam_info
+ * >pam_prompt
+ * >pam_verror
+ */
OpenPOWER on IntegriCloud