{
    "mode": "man",
    "parameter": "PAM_STRERROR",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/PAM_STRERROR/3/json",
    "generated": "2026-06-10T16:22:34Z",
    "synopsis": "#include <security/pamappl.h>\nconst char *pamstrerror(pamhandlet *pamh, int errnum);",
    "sections": {
        "NAME": {
            "content": "pamstrerror - return string describing PAM error code\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#include <security/pamappl.h>\n\nconst char *pamstrerror(pamhandlet *pamh, int errnum);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The pamstrerror function returns a pointer to a string describing the error code passed in\nthe argument errnum, possibly using the LCMESSAGES part of the current locale to select the\nappropriate language. This string must not be modified by the application. No library\nfunction will modify this string.\n",
            "subsections": []
        },
        "RETURN VALUES": {
            "content": "This function returns always a pointer to a string.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pam(7)\n\n\n\nLinux-PAM Manual                             06/08/2020                              PAMSTRERROR(3)",
            "subsections": []
        }
    },
    "summary": "pamstrerror - return string describing PAM error code",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "pam",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/pam/7/json"
        }
    ]
}