Deallocates, or frees, memory.
#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. |
This subroutine is part of Base Operating System (BOS) Runtime.
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.