pam_getenvlist man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

PAM_GETENVLIST(3PAM)					  PAM_GETENVLIST(3PAM)

NAME
       pam_getenvlist - returns a list of all the PAM environment variables

SYNOPSIS
       cc [ flag ... ] file ... -lpam [ library ... ]
       #include <security/pam_appl.h>

       char **pam_getenvlist(pam_handle_t *pamh);

DESCRIPTION
       The pam_getenvlist() function returns a list of all the PAM environment
       variables stored in the PAM handle pamh. The  list  is  returned	 as  a
       null-terminated	array  of  pointers to strings. Each string contains a
       single PAM environment  variable	 of  the  form	name=value.  The  list
       returned is a duplicate copy of all the environment variables stored in
       pamh. It is the responsibility of the calling application to  free  the
       memory returned by pam_getenvlist().

RETURN VALUES
       If  successful,	pam_getenvlist()  returns in a null-terminated array a
       copy of all the PAM environment variables stored	 in  pamh.  Otherwise,
       pam_getenvlist() returns a null pointer.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬─────────────────────────┐
       │  ATTRIBUTE TYPE    │	  ATTRIBUTE VALUE     │
       ├────────────────────┼─────────────────────────┤
       │Interface Stability │  Stable		      │
       ├────────────────────┼─────────────────────────┤
       │MT-Level	    │ MT-Safe with exceptions │
       └────────────────────┴─────────────────────────┘

SEE ALSO
       pam(3PAM),     pam_getenv(3PAM),	    pam_putenv(3PAM),	 libpam(3LIB),
       attributes(5)

NOTES
       The interfaces in  libpam are MT-Safe only if each  thread  within  the
       multithreaded application uses its own PAM handle.

				 Oct 13, 1998		  PAM_GETENVLIST(3PAM)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net