Calls the xdr_string subroutine.
C Library (libc.a)
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.
Item | Description |
---|---|
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.