[ Previous | Next | Table of 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.

Implementation Specifics

This macro is part of Base Operating System (BOS) Runtime.

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.1 Communications Programming Concepts.


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