xdr_destroy Macro

Purpose

Destroys the XDR stream pointed to by the xdrs parameter.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>

void xdr_destroy ( xdrs)
XDR *xdrs;

Description

The xdr_destroy macro invokes the destroy routine associated with the eXternal Data Representation (XDR) stream pointed to by the xdrs parameter and frees the private data structures allocated to the stream. The use of the XDR stream handle is undefined after it is destroyed.

Parameters

Item Description
xdrs Points to the XDR stream handle.