[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 1

xdr_inline Macro

Purpose

Returns a pointer to the buffer of a stream pointed to by the xdrs parameter.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>
long *x_inline (xdrs, len)
XDR *xdrs;
int len;

Description

The xdr_inline macro invokes the inline subroutine associated with the eXternal Data Representation (XDR) stream pointed to by the xdrs parameter. The subroutine returns a pointer to a contiguous piece of the stream's buffer, whose size is specified by the len parameter. The buffer can be used for any purpose, but it is not data-portable. The xdr_inline macro may return a value of null if it cannot return a buffer segment of the requested size.

Parameters

xdrs Points to the XDR stream handle.
len Specifies the size, in bytes, of the internal buffer.

Return Values

This macro returns a pointer to a piece of the stream's buffer.

Implementation Specifics

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

Related Information

List of XDR Programming References.

eXternal Data Representation (XDR) Overview for Programming andUnderstanding XDR Non-Filter Primitives in AIX Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]