[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Communications Technical Reference, Volume 1

xdr_free Subroutine

Purpose

Deallocates, or frees, memory.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>
void xdr_free (proc, objp)
xdrproc_t proc;
char *objp; 

Description

The xdr_free subroutine is a generic freeing routine that deallocates memory. The proc parameter specifies the eXternal Data Representation (XDR) routine for the object being freed. The objp parameter is a pointer to the object itself.

Note: The pointer passed to this routine is not freed, but the object it points to is freed (recursively).

Parameters

proc Points to the XDR stream handle.
objp Points to the object being freed.

Implementation Specifics

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

Related Information

List of XDR Programming References.

eXternal Data Representation (XDR) Overview for Programming and Understanding XDR Non-Filter Primitives in AIX Version 4.3 Communications Programming Concepts.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]