diff options
Diffstat (limited to 'contrib/openpam/lib/pam_setenv.c')
-rw-r--r-- | contrib/openpam/lib/pam_setenv.c | 18 |
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 + */ |