summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/lib/pam_getenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/openpam/lib/pam_getenv.c')
-rw-r--r--contrib/openpam/lib/pam_getenv.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/openpam/lib/pam_getenv.c b/contrib/openpam/lib/pam_getenv.c
index d6bf219..05deb541 100644
--- a/contrib/openpam/lib/pam_getenv.c
+++ b/contrib/openpam/lib/pam_getenv.c
@@ -65,3 +65,13 @@ pam_getenv(pam_handle_t *pamh,
return (NULL);
return (strdup(pamh->env[i]));
}
+
+/**
+ * The =pam_getenv function returns the value of an environment variable.
+ * Its semantics are similar to those of =getenv, but it accesses the PAM
+ * context's environment list instead of the application's.
+ *
+ * >pam_getenvlist
+ * >pam_putenv
+ * >pam_setenv
+ */
OpenPOWER on IntegriCloud