Home | History | Annotate | Line # | Download | only in man
pam_getenv.3 revision 1.5
      1 <<<<<<< pam_getenv.3
      2 .\"	$NetBSD: pam_getenv.3,v 1.5 2014/10/24 18:17:56 christos Exp $
      3 .\"
      4 =======
      5 >>>>>>> 1.1.1.4
      6 .\" Generated from pam_getenv.c by gendoc.pl
      7 .\" Id: pam_getenv.c 648 2013-03-05 17:54:27Z des 
      8 .Dd September 12, 2014
      9 .Dt PAM_GETENV 3
     10 .Os
     11 .Sh NAME
     12 .Nm pam_getenv
     13 .Nd retrieve the value of a PAM environment variable
     14 .Sh LIBRARY
     15 .Lb libpam
     16 .Sh SYNOPSIS
     17 .In sys/types.h
     18 .In security/pam_appl.h
     19 .Ft "const char *"
     20 .Fn pam_getenv "pam_handle_t *pamh" "const char *name"
     21 .Sh DESCRIPTION
     22 The
     23 .Fn pam_getenv
     24 function returns the value of an environment variable.
     25 Its semantics are similar to those of
     26 .Xr getenv 3 ,
     27 but it accesses the PAM
     28 context's environment list instead of the application's.
     29 .Sh RETURN VALUES
     30 The
     31 .Fn pam_getenv
     32 function returns
     33 .Dv NULL
     34 on failure.
     35 .Sh SEE ALSO
     36 .Xr getenv 3 ,
     37 .Xr pam 3 ,
     38 .Xr pam_getenvlist 3 ,
     39 .Xr pam_putenv 3 ,
     40 .Xr pam_setenv 3
     41 .Sh STANDARDS
     42 .Rs
     43 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
     44 .%D "June 1997"
     45 .Re
     46 .Sh AUTHORS
     47 The
     48 .Fn pam_getenv
     49 function and this manual page were
     50 developed for the
     51 .Fx
     52 Project by ThinkSec AS and Network Associates Laboratories, the
     53 Security Research Division of Network Associates, Inc.\& under
     54 DARPA/SPAWAR contract N66001-01-C-8035
     55 .Pq Dq CBOSS ,
     56 as part of the DARPA CHATS research program.
     57 .Pp
     58 The OpenPAM library is maintained by
     59 .An Dag-Erling Sm\(/orgrav Aq des (a] des.no .
     60