Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pam_getenv    ( 3 )

получить переменную окружения PAM (get a PAM environment variable)

Имя (Name)

pam_getenv - get a PAM environment variable


Синопсис (Synopsis)

#include <security/pam_appl.h>

const char *pam_getenv(pam_handle_t *pamh, const char *name);


Описание (Description)

The pam_getenv function searches the PAM environment list as associated with the handle pamh for an item that matches the string pointed to by name and returns a pointer to the value of the environment variable. The application is not allowed to free the data.


Возвращаемое значение (Return value)

The pam_getenv function returns NULL on failure.


Смотри также (See also)

pam_start(3), pam_getenvlist(3), pam_putenv(3), pam(8)