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


xdr_string()

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

Format

#include <rpc.h>
bool_t
xdr_string(xdrs, sp, maxsize)
XDR *xdrs;
char **sp;
u_int maxsize;

Parameters

xdrs
Indicates the pointer to an XDR stream.
sp
Indicates the pointer that points to a pointer to the string.
maxsize
Indicates the maximum size of the string.

Usage

The xdr_string() call translates between C strings and their external representations.

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