svc_run()--Wait for RPC Requests to Arrive


  Syntax

 #include <rpc/rpc.h>

 void svc_run(void);

  Service Program Name: QZNFTRPC

  Default Public Authority: *USE

  Threadsafe: No

The svc_run() function waits for RPC requests to arrive and calls the appropriate service procedure.


Parameters

None.


Authorities

No authorization is required.


Return Value

None.


Error Conditions

The svc_run() function rarely exits. It exits only when an exception has occurred. In this case the errno global variable is set to EUNKNOWN.


Error Messages



Example

Refer to the example for svcerr_systemerr()--Send Information to Client for System Error.



API introduced: V4R2

[ Back to top | Remote Procedure Call (RPC) APIs | APIs by category ]