[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1

svc_destroy Macro

Purpose

Destroys a Remote Procedure Call (RPC) service transport handle.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>


void svc_destroy ( xprt)
SVCXPRT *xprt;

Description

The svc_destroy macro destroys an RPC service transport handle. Destroying the service transport handle deallocates the private data structures, including the handle itself. After the svc_destroy macro is used, the handle pointed to by the xprt parameter is no longer defined.

Parameters

xprt Points to the RPC service transport handle.

Related Information

The clnt_destroy macro, svc_freeargs macro.

List of RPC Programming References.

Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.2 Communications Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]