Translates between C language characters and their external representations.
C Library (libc.a)
xdr_char (xdrs, cp) XDR *xdrs; char *cp;
The xdr_char subroutine is a filter primitive that translates between C language characters and their external representations.
Note: Encoded characters are not packed and occupy 4 bytes each. For arrays of characters, the programmer should consider using the xdr_bytes, xdr_opaque, or xdr_string routine.
|xdrs||Points to the eXternal Data Representation (XDR) stream handle.|
|cp||Points to the character.|
Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.
This subroutine is part of Base Operating System (BOS) Runtime.
List of XDR Programming References.
eXternal Data Representation (XDR) Overview for Programming and Understanding XDR Library Filter Primitives in AIX Version 4.3 Communications Programming Concepts.