z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


xdr_inline()

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

Format

#include <rpc.h>
long *
xdr_inline(xdrs, len)
XDR *xdrs;
int len;

Parameters

xdrs
Indicates the pointer to an XDR stream.
len
Specifies the byte length of the desired buffer.

Usage

The xdr_inline() call returns a pointer to a continuous piece of the XDR stream 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() can return NULL if there is not sufficient space in the stream buffer to satisfy the request.

Return codes

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

Context

  • clnt_broadcast()
  • clnt_call()
  • clnt_freeres()
  • pmap_rmtcall()
  • registerrpc()
  • svc_freeargs()
  • svc_getargs()
  • svc_sendreply()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014