manpagez: man pages & more
man pam_unsetenv(3)
Home | html | info | man
pam_unsetenv(3)          BSD Library Functions Manual          pam_unsetenv(3)


NAME

     pam_unsetenv -- mirrors unsetenv(3)


LIBRARY

     Pluggable Authentication Module Library (libpam, -lpam)


SYNOPSIS

     #include <sys/types.h>
     #include <security/pam_appl.h>

     int
     pam_unsetenv(pam_handle_t *pamh, const char *name);


DESCRIPTION

     The pam_unsetenv function unsets a environment variable.  Its semantics
     are similar to those of unsetenv(3), but it modifies the PAM context's
     environment list instead of the application's.


RETURN VALUES

     The pam_unsetenv function returns one of the following values:

     [PAM_SYSTEM_ERR]    System error.


SEE ALSO

     pam(3), pam_getenv(3), pam_getenvlist(3), pam_putenv(3), pam_strerror(3),
     setenv(3)


STANDARDS

     The pam_unsetenv function is an OpenPAM extension.

BSD                            December 21, 2007                           BSD

Mac OS X 10.8 - Generated Wed Aug 29 18:47:13 CDT 2012
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.