summaryrefslogtreecommitdiff
path: root/contrib/openpam/lib/pam_setenv.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-02-23 01:24:02 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-02-23 01:24:02 +0000
commit46acc3702698ba19936598ab0b2bcb79d0541e14 (patch)
treeae223d64d0eef9481ac27d428fd4c517fe5427e4 /contrib/openpam/lib/pam_setenv.c
parentac676a111684706b7e97927f12d29b25c5205078 (diff)
Diffstat (limited to 'contrib/openpam/lib/pam_setenv.c')
-rw-r--r--contrib/openpam/lib/pam_setenv.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/openpam/lib/pam_setenv.c b/contrib/openpam/lib/pam_setenv.c
index 6165b7cb00df..155835e0a1b5 100644
--- a/contrib/openpam/lib/pam_setenv.c
+++ b/contrib/openpam/lib/pam_setenv.c
@@ -77,3 +77,21 @@ pam_setenv(pam_handle_t *pamh,
free(env);
return (r);
}
+
+/*
+ * Error codes:
+ *
+ * =pam_putenv
+ * PAM_SYSTEM_ERR
+ * PAM_BUF_ERR
+ */
+
+/**
+ * The =pam_setenv function sets a environment variable.
+ * Its semantics are similar to those of =setenv, but it modifies the PAM
+ * context's environment list instead of the application's.
+ *
+ * >pam_getenv
+ * >pam_getenvlist
+ * >pam_putenv
+ */