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

Technical Reference: Communications, Volume 1

xdrmem_create Subroutine

Purpose

Initializes in local memory the XDR stream pointed to by the xdrs parameter.

Library

C Library (libc.a)

Syntax


#include <rpc/xdr.h>
void
xdrmem_create ( xdrs, addr, size, op)
XDR *xdrs;
char *addr;
u_int size;
enum xdr_op op;

Description

The xdrmem_create subroutine initializes in local memory the eXternal Data Representation (XDR) stream pointed to by the xdrs parameter. The XDR stream data is written to or read from a chunk of memory at the location specified by the addr parameter.

Parameters

xdrs Points to the XDR stream handle.
addr Points to the memory where the XDR stream data is written to or read from.
size Specifies the length of the memory in bytes.
op Specifies the XDR direction. The possible choices are XDR_ENCODE, XDR_DECODE, or XDR_FREE.

Related Information

List of XDR Programming References.

eXternal Data Representation (XDR) Overview for Programming in AIX 5L Version 5.2 Communications Programming Concepts.

Understanding XDR Non-Filter Primitives in AIX 5L Version 5.2 Communications Programming Concepts.

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