[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 1

xdr_free Subroutine


Deallocates, or frees, memory.


C Library (libc.a)


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


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).


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.

[ Previous | Next | Contents | Glossary | Home | Search ]