xdrstdio_create Subroutine
Purpose
Initializes the XDR data stream pointed to by the xdrs parameter.
Library
C Library (libc.a)
Syntax
Description
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.
Parameters
Item | Description |
---|---|
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. |