Returns a pointer to the buffer of a stream pointed to by the xdrs parameter.
#include <rpc/xdr.h>
long *x_inline (xdrs, len) XDR *xdrs; int len;
The xdr_inline macro invokes the inline subroutine associated with the eXternal Data Representation (XDR) stream pointed to by the xdrs parameter. The subroutine returns a pointer to a contiguous piece of the stream's buffer, whose size is specified by the len parameter. The buffer can be used for any purpose, but it is not data-portable. The xdr_inline macro may return a value of null if it cannot return a buffer segment of the requested size.
xdrs | Points to the XDR stream handle. |
len | Specifies the size, in bytes, of the internal buffer. |
This macro returns a pointer to a piece of the stream's buffer.
This macro is part of Base Operating System (BOS) Runtime.
List of XDR Programming References.
eXternal Data Representation (XDR) Overview for Programming andUnderstanding XDR Non-Filter Primitives in AIX Version 4.3 Communications Programming Concepts.