_PxHndcallVA()

PXROS-HR handler call.

APPLIES TO

8.2.0

SYNOPSIS
PxArg_t _PxHndcallVA (handler, parms...);
ARGUMENTS
handler

Function to be called in supervisor mode

parms…​

Arguments for handler function

DESCRIPTION

_PxHndcallVA calls the passed variadic function handler with its arguments parms…​ in supervisor mode.

USAGE
#include "pxdef.h"

int HandlerFunc(va_list ap) {
 int arg1 = va_arg(ap, int);
 return arg1;
}

PxArg_t retval = _PxHndcallVA(HandlerFunc, 0);