#include <rpc/rpc.h> void svc_destroy(SVCXPRT *xprt);
The svc_destroy() function destroys an RPC service transport handle. This function deallocates the private data structures, including the handle itself. After the svc_destroy() API is used, the handle pointed to by the xprt parameter is no longer defined.
No authorization is required.
None.
None.
None.
See Code disclaimer information for information pertaining to code examples.
The following example shows how svc_destroy() is used:
#include <rpc/rpc.h> main() { SVCXRPT *transp; ... /* Destroy the service handle */ svc_destroy(transp); ... }
Top | Remote Procedure Call (RPC) APIs | APIs by category |