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


xdr_text_char()

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

Format

#include <rpc.h>
     bool_t
     xdr_text_char(xdrs, cp)
     XDR *xdrs;
     char *cp;

Parameters

xdrs
Specifies the pointer to an XDR stream.
cp
Specifies the pointer to the C character.

Usage

The xdr_text_char() call is a filter primitive that translates between C characters and their external representations.
Notes:
  1. Encoded characters are not packed, and they occupy 4 bytes each.
  2. xdr_text_char() converts ASCII to EBCDIC.

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()
  • xdr_bytes()
  • xdr_opaque()
  • xdr_string()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014