Returns an unsigned integer that describes the current position in the data stream.
#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.
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.
This macro is part of Base Operating System (BOS) Runtime.
The xdr_setpos macro.
List of XDR Programming References.
eXternal Data Representation (XDR) Overview for Programming and Understanding XDR Non-Filter Primitives in AIX Version 4.3 Communications Programming Concepts.