xdr_destroy()

Format

#include <rpc.h>
     void
     xdr_destroy(xdrs)
     XDR *xdrs;

Parameters

xdrs
Specifies the pointer to an XDR stream.

Usage

The xdr_destroy() call is a macro that invokes the destroy routine associated with the XDR stream, xdrs. Destruction usually involves freeing private data structures associated with the stream. Using xdrs after invoking xdr_destroy() is undefined.