Provides an XDR stream that can contain long sequences of records.
#include <rpc/xdr.h>
void xdrrec_create (xdrs, sendsize, recvsize, handle, readit, writeit) XDR *xdrs; u_int sendsize; u_int recvsize; char *handle; int (*readit) (), (*writeit) ();
The xdrrec_create subroutine provides an eXternal Data Representation (XDR) stream that can contain long sequences of records and handle them in both the encoding and decoding directions. The record contents contain data in XDR form. The routine initializes the XDR stream object pointed to by the xdrs parameter.
Note: This XDR stream implements an intermediate record stream. As a result, additional bytes are in the stream to provide record boundary information.
This subroutine is part of Base Operating System (BOS) Runtime.
List of XDR Programming References.
eXternal Data Representation (XDR) Overview for Programming in AIX Communications Programming Concepts.
Understanding XDR Non-Filter Primitives in AIX Communications Programming Concepts.