{
    "mode": "man",
    "parameter": "rpc_svc_err",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/rpc_svc_err/3/json",
    "generated": "2026-06-15T11:39:27Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "rpcsvcerr, svcerrauth, svcerrdecode, svcerrnoproc, svcerrnoprog, svcerrprogvers,\nsvcerrsystemerr, svcerrweakauth — library routines for server side remote procedure call er‐\nrors\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "#include <rpc/rpc.h>",
                    "content": "void\nsvcerrauth(SVCXPRT *xprt, enum authstat why);\n\nvoid\nsvcerrdecode(SVCXPRT *xprt);\n\nvoid\nsvcerrnoproc(SVCXPRT *xprt);\n\nvoid\nsvcerrnoprog(SVCXPRT *xprt);\n\nvoid\nsvcerrprogvers(SVCXPRT *xprt, rpcverst lowvers, rpcverst highvers);\n\nvoid\nsvcerrsystemerr(SVCXPRT *xprt);\n\nvoid\nsvcerrweakauth(SVCXPRT *xprt);\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "These routines are part of the RPC library which allows C language programs to make procedure\ncalls on other machines across the network.\n\nThese routines can be called by the server side dispatch function if there is any error in the\ntransaction with the client.\n",
            "subsections": []
        },
        "Routines": {
            "content": "See rpc(3) for the definition of the SVCXPRT data structure.\n\nsvcerrauth()\nCalled by a service dispatch routine that refuses to perform a remote procedure call due\nto an authentication error.\n\nsvcerrdecode()\nCalled by a service dispatch routine that cannot successfully decode the remote argu‐\nments (see svcgetargs() in rpcsvcreg(3)).\n\nsvcerrnoproc()\nCalled by a service dispatch routine that does not implement the procedure number that\nthe caller requests.\n\nsvcerrnoprog()\nCalled when the desired program is not registered with the RPC package.  Service imple‐\nmentors usually do not need this routine.\n\nsvcerrprogvers()\nCalled when the desired version of a program is not registered with the RPC package.\nThe lowvers argument is the lowest version number, and highvers is the highest version\nnumber.  Service implementors usually do not need this routine.\n\nsvcerrsystemerr()\nCalled by a service dispatch routine when it detects a system error not covered by any\nparticular protocol.  For example, if a service can no longer allocate storage, it may\ncall this routine.\n\nsvcerrweakauth()\nCalled by a service dispatch routine that refuses to perform a remote procedure call due\nto insufficient (but correct) authentication arguments.  The routine calls\nsvcerrauth(xprt, AUTHTOOWEAK).\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "These functions are part of libtirpc.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "rpc(3), rpcsvccalls(3), rpcsvccreate(3), rpcsvcreg(3)\n\nBSD                               May 3, 1993                              BSD",
            "subsections": []
        }
    },
    "summary": "rpcsvcerr, svcerrauth, svcerrdecode, svcerrnoproc, svcerrnoprog, svcerrprogvers, svcerrsystemerr, svcerrweakauth — library routines for server side remote procedure call er‐ rors",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "rpc",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpc/3/json"
        },
        {
            "name": "rpcsvccalls",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpcsvccalls/3/json"
        },
        {
            "name": "rpcsvccreate",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpcsvccreate/3/json"
        },
        {
            "name": "rpcsvcreg",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpcsvcreg/3/json"
        }
    ]
}