{
    "mode": "man",
    "parameter": "pam_error",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/pam_error/3/json",
    "generated": "2026-10-09T01:19:26Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "pamerror, pamverror - display error messages to the user\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "#include <security/pam_ext.h>",
                    "content": "int pamerror(pamhandlet *pamh, const char *fmt, ...);\n\nint pamverror(pamhandlet *pamh, const char *fmt, valist args);\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "The pamerror function prints error messages through the conversation function to the user.\n\nThe pamverror function performs the same task as pamerror() with the difference that it\ntakes a set of arguments which have been obtained using the stdarg(3) variable argument list\nmacros.\n",
            "subsections": []
        },
        "RETURN VALUES": {
            "content": "PAMBUFERR\nMemory buffer error.\n\nPAMCONVERR\nConversation failure.\n\nPAMSUCCESS\nError message was displayed.\n\nPAMSYSTEMERR\nSystem error.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "paminfo(3), pamvinfo(3), pamprompt(3), pamvprompt(3), pam(7)\n",
            "subsections": []
        },
        "STANDARDS": {
            "content": "The pamerror and pamverror functions are Linux-PAM extensions.\n\nLinux-PAM                                    05/07/2023                                 PAMERROR(3)",
            "subsections": []
        }
    },
    "summary": "pamerror, pamverror - display error messages to the user",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "paminfo",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/paminfo/3/json"
        },
        {
            "name": "pamvinfo",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/pamvinfo/3/json"
        },
        {
            "name": "pamprompt",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/pamprompt/3/json"
        },
        {
            "name": "pamvprompt",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/pamvprompt/3/json"
        },
        {
            "name": "pam",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/pam/7/json"
        }
    ]
}