Previous section.

X/Open Single Sign-on Service (XSSO) -<br> Pluggable Authentication Modules

X/Open Single Sign-on Service (XSSO) -
Pluggable Authentication Modules
Copyright © 1997 The Open Group

NAME

pam_strerror - get PAM standard error message string

SYNOPSIS

#include <security/pam_appl.h>

const char *pam_strerror ( pam_handle_t *pamh, int error_number );

DESCRIPTION

The pam_strerror() function maps the PAM error number in error_number to a PAM error message and returns the error message. The application should not free or modify the string returned. The function returns a NULL if cannot map error_number to a string.

The arguments for pam_strerror() are:

pamh (in)

The PAM authentication handle.

error_number (in)

The number of the error for which the error message is required.

RETURN VALUE

If successful, the string mapped to error_number is returned.

If error_number cannot be mapped to a string, NULL is returned.


Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index