Calls the xdr_string subroutine.
#include <rpc/xdr.h>
xdr_wrapstring ( xdrs, sp)
XDR *xdrs;
char **sp;
The xdr_wrapstring subroutine is a primitive that calls the xdr_string subroutine (xdrs, sp, MAXUN.UNSIGNED), where the MAXUN.UNSIGNED value is the maximum value of an unsigned integer. The xdr_wrapstring subroutine is useful because the Remote Procedure Call (RPC) package passes a maximum of two eXternal Data Representation (XDR) subroutines as parameters, and the xdr_string subroutine requires three.
xdrs | Points to the XDR stream handle. |
sp | Specifies the address of the pointer to the string. |
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.
The xdr_string subroutine.
List of XDR Programming References.
eXternal Data Representation (XDR) Overview for Programming in AIX 5L Version 5.1 Communications Programming Concepts.
Understanding XDR Library Filter Primitives in AIX 5L Version 5.1 Communications Programming Concepts.