[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1


xdr_getpos Macro

Purpose

Returns an unsigned integer that describes the current position in the data stream.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>


u_int xdr_getpos ( xdrs)
XDR *xdrs;

Description

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.

Parameters


xdrs Points to the XDR stream handle.

Return Values

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.

Implementation Specifics

This macro is part of Base Operating System (BOS) Runtime.

Related Information

The xdr_setpos macro.

List of XDR Programming References.

eXternal Data Representation (XDR) Overview for Programming and Understanding XDR Non-Filter Primitives in AIX 5L Version 5.1 Communications Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]