callfunc(3G)
callfunc - calls a function from within an object
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME callfunc - calls a function from within an object C SPECIFICATION void callfunc(fctn, nargs, arg1, arg2, ..., argn) void (*fctn)(); long nargs, arg1, arg2, ..., argn; PARAMETERS fctn expects a pointer to a function. nargs expects the number of arguments, excluding itself, that the function pointed to by fctn is to be called with. arg1, arg2, ..., argn expect the arguments to the function pointed to by fctn. DESCRIPTION callfunc is used to call an arbitrary function from within an object. When callfunc executes in the object, the function call (*fctn)(nargs, arg1, arg2, ..., argn) is made. NOTE This routine does not function in the Distributed Graphics Library (DGL), and we advise against its use in new development.