Returns an unsigned integer that describes the current position in the data stream.
C Library (libc.a)
#include <rpc/xdr.h>
u_int xdr_getpos ( xdrs)
XDR *xdrs;
The xdr_getpos macro invokes the get-position routine associated with the eXternal Data Representation (XDR) stream pointed to by the xdrs parameter. This routine returns an unsigned integer that describes the current position in the data stream.
Item | Description |
---|---|
xdrs | Points to the XDR stream handle. |
This macro returns an unsigned integer describing the current position in the stream. In some XDR streams, it returns a value of -1, even though the value has no meaning.