diff options
Diffstat (limited to 'contrib/openpam/lib/pam_putenv.c')
| -rw-r--r-- | contrib/openpam/lib/pam_putenv.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/openpam/lib/pam_putenv.c b/contrib/openpam/lib/pam_putenv.c index c8701f3e8ef9..e1b497efc3b6 100644 --- a/contrib/openpam/lib/pam_putenv.c +++ b/contrib/openpam/lib/pam_putenv.c @@ -86,3 +86,20 @@ pam_putenv(pam_handle_t *pamh, ++pamh->env_count; return (PAM_SUCCESS); } + +/* + * Error codes: + * + * PAM_SYSTEM_ERR + * PAM_BUF_ERR + */ + +/** + * The =pam_putenv function sets a environment variable. + * Its semantics are similar to those of =putenv, but it modifies the PAM + * context's environment list instead of the application's. + * + * >pam_getenv + * >pam_getenvlist + * >pam_setenv + */ |
