Translates between C language long integers and their external representations.
C Library (libc.a)
The xdr_long filter primitive translates between C language long integers and their external representations. This primitive is characteristic of most eXternal Data Representation (XDR) library primitives and all client XDR routines.
Item | Description |
---|---|
xdrs | Points to the XDR stream handle. This parameter can be treated as an opaque handler and passed to the primitive routines. |
lp | Specifies the address of the number. |
Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.
When in 64 BIT mode, if the value of the long integer can not be expressed in 32 BIT, xdr_long will return a value of 0.