pam_getenv − get a PAM environment variable

#include <security/pam_appl.h>

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


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.

The pam_getenv function returns NULL on failure.

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

More Linux Commands

getdtablesize(2) - get descriptor table size (Man Page).....
getdtablesize() returns the maximum number of files a process can have open, one more than the largest possible value for a file descriptor. RETURN VALUE The cu

yuvkineco(1) - revert 2-3 pulldown movie - Linux man page...
yuvkineco reverts to original non-interlaced frames, from NTSC video which was film sourced and 2-3 pulled down. Input fps code must be 4(29.97fps), output fps

inet_pton(3) - convert IPv4 and IPv6 addresses from text to
This function converts the character string src into a network address structure in the af address family, then copies the network address structure to dst. The

git-pack-objects(1) - Create a packed archive of objects....
Reads list of objects from the standard input, and writes a packed archive with specified base-name, or to the standard output. A packed archive is an efficient

FcNameUnregisterConstants(3) - Unregister symbolic constants
Unregister nconsts symbolic constants. Returns FcFalse if the specified constants were not registered. Otherwise returns FcTrue. VERSION Fontconfig version 2.8.

XvSetPortAttribute(3) - sets an attribute of a video port...
XvSetPortAttribute(3) permits a client to set the port attribute to specified values. This request supports the following values: The supplied encoding must be

ausearch-expression(5) audit search expression format.......
This man page describes the format of ausearch expressions. Parsing and evaluation of these expressions is provided by libauparse and is common to applications

truncate(2) - truncate a file to a specified length.........
truncate.2 - The truncate() and ftruncate() functions cause the regular file named by path or referenced by fd to be truncated to a size of precisely length byt

btrfs-quota(8) control the quota of a btrfs filesystem......
btrfs quota is used to enable/disable or rescan subvolume quota of a btrfs filesystem. For setting quota or other quota operations on a btrfs filesystem, please

csplit(1) - split a file into sections determined by context
Output pieces of FILE separated by PATTERN(s) to files xx00, xx01, ..., and output byte counts of each piece to standard output. Mandatory arguments to long opt

use_default_colors(3ncurses) - use terminal's default colors
use_default_colors.3ncurses - The use_default_colors() and assume_default_colors() functions are extensions to the curses library. They are used with terminals

logbf(3) - get exponent of a floating-point value (ManPage)
These functions extract the exponent from the internal floating-point representation of x and return it as a floating-point value. The integer constant FLT_RADI

We can't live, work or learn in freedom unless the software we use is free.