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