Initializes in local memory the XDR stream pointed to by the xdrs parameter.
C Library (libc.a)
The xdrmem_create subroutine initializes in local memory the eXternal Data Representation (XDR) stream pointed to by the xdrs parameter. The XDR stream data is written to or read from a chunk of memory at the location specified by the addr parameter.
Item | Description |
---|---|
xdrs | Points to the XDR stream handle. |
addr | Points to the memory where the XDR stream data is written to or read from. |
size | Specifies the length of the memory in bytes. |
op | Specifies the XDR direction. The possible choices are XDR_ENCODE, XDR_DECODE, or XDR_FREE. |