diff options
author | des <des@FreeBSD.org> | 2002-02-23 01:24:02 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-02-23 01:24:02 +0000 |
commit | b7924daede5918d4af38aea32dcfe788509d2326 (patch) | |
tree | ae223d64d0eef9481ac27d428fd4c517fe5427e4 /contrib/openpam/lib/pam_getenv.c | |
parent | 8f1441cfb24a5778dd1a680f7f9b48ef1560d682 (diff) | |
download | FreeBSD-src-b7924daede5918d4af38aea32dcfe788509d2326.zip FreeBSD-src-b7924daede5918d4af38aea32dcfe788509d2326.tar.gz |
Vendor import of OpenPAM Cantaloupe
Diffstat (limited to 'contrib/openpam/lib/pam_getenv.c')
-rw-r--r-- | contrib/openpam/lib/pam_getenv.c | 10 |
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 + */ |