xdr_inline()

The xdr_inline() call returns a pointer to a continuous piece of the XDR stream's buffer.

Syntax

#include <rpc\rpc.h>

long *
xdr_inline(xdrs, len)
XDR *xdrs;
int len;

Parameters

xdrs

len

Description

The xdr_inline() call returns a pointer to a continuous piece of the XDR stream's buffer. The value is long * rather than char *, because the external data representation of any object is always an integer multiple of 32 bits.

Note: xdr_inline() might return NULL if there is not enough space in the stream buffer to satisfy the request.

Return Values

The value 1 indicates success; the value 0 indicates an error.


[Back: xdr_getpos()]
[Next: xdr_int()]