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

Technical Reference: Communications, Volume 1

clnt_destroy Macro

Purpose

Destroys the client's Remote Procedure Call (RPC) handle.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>


void clnt_destroy ( clnt)
CLIENT *clnt;

Description

The clnt_destroy macro destroys the client's RPC handle. Destroying the client's RPC handle deallocates private data structures, including the clnt parameter itself. The use of the clnt parameter becomes undefined upon calling the clnt_destroy macro.

Parameters

clnt Points to the structure of the client handle.

Related Information

The clntudp_create subroutine, clnt_create subroutine.

List of RPC Programming References.

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

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