Initializes the XDR data stream pointed to by the xdrs parameter.
C Library (libc.a)
#include <stdio.h> #include <rpc/xdr.h> void xdrstdio_create (xdrs, file, op) XDR *xdrs; FILE *file; enum xdr_op op;
The xdrstdio_create subroutine initializes the eXternal Data Representation (XDR) data stream pointed to by the xdrs parameter. The XDR stream data is written to or read from the standard input/output stream pointed to by the file parameter.
Note: The destroy routine associated with such an XDR stream calls the fflush function on the file stream, but never calls the fclose function.
|xdrs||Points to the XDR stream handle to initialize.|
|file||Points to the standard I/O device that data is written to or read from.|
|op||Specifies an XDR direction. The possible choices are XDR_ENCODE, XDR_DECODE, or XDR_FREE.|
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.