Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_strerror(3) [xfree86 man page]

PAM_STRERROR(3) 						 Linux-PAM Manual						   PAM_STRERROR(3)

NAME
pam_strerror - return string describing PAM error code SYNOPSIS
#include <security/pam_appl.h> const char *pam_strerror(pam_handle_t *pamh, int errnum); DESCRIPTION
The pam_strerror function returns a pointer to a string describing the error code passed in the argument errnum, possibly using the LC_MESSAGES part of the current locale to select the appropriate language. This string must not be modified by the application. No library function will modify this string. RETURN VALUES
This function returns always a pointer to a string. SEE ALSO
pam(7) Linux-PAM Manual 06/04/2011 PAM_STRERROR(3)

Check Out this Related Man Page

pam_strerror(3PAM)					       PAM Library Functions						pam_strerror(3PAM)

NAME
pam_strerror - get PAM error message string SYNOPSIS
cc [ flag... ] file... -lpam [ library... ] #include <security/pam_appl.h> const char *pam_strerror(pam_handle_t*pamh, int errnum); DESCRIPTION
The pam_strerror() function maps the PAM error number in errnum to a PAM error message string, and returns a pointer to that string. The application should not free or modify the string returned. The pamh argument is the PAM handle obtained by a prior call to pam_start(). If pam_start() returns an error, a null PAM handle should be passed. ERRORS
The pam_strerror() function returns the string "Unknown error" if errnum is out-of-range. ATTRIBUTES
See attributes(5) for description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability | Stable | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe with exceptions | +-----------------------------+-----------------------------+ SEE ALSO
pam(3PAM), pam_start(3PAM), attributes(5) NOTES
The interfaces in libpam are MT-Safe only if each thread within the multithreaded application uses its own PAM handle. SunOS 5.10 9 Jul 2003 pam_strerror(3PAM)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No xorg.conf or XF86Config

There is no xorg.conf file and no XF86Config file on a certain FreeBSD machine: # locate xorg.conf /usr/local/man/man5/xorg.conf.5.gz # locate XF86Config # Can someone let me know if that means that there is a bare bones set up possible only? xrandr works fine, but I am looking for ways to... (6 Replies)
Discussion started by: figaro
6 Replies

2. Shell Programming and Scripting

Can a script resize it's own mintty console?

I'm looking for finer granularity than the 20 ANSI escape sequence screen modes. What I'd like to do is have the terminal increase it's own height when I have to show the user a long menu. Platform is Cygwin 64 running over Win 7 Pro. Mike (4 Replies)
Discussion started by: Michael Stora
4 Replies

3. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

4. Fedora

Fedora 30 and Slackware 14.2, how to obtain the same rendering?

Look this very good rendering on Slackware 14.2 in my opinion is near perfect. https://i.stack.imgur.com/q5trL.png Now look the same page on Fedora 30 https://i.stack.imgur.com/FBQv7.png In my opinion the fonts on Fedora are too small and difficult to read, I prefer the fat fonts of... (20 Replies)
Discussion started by: Linusolaradm1
20 Replies