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

Technical Reference: Communications, Volume 1

xdr_int Subroutine

Purpose

Translates between C language integers and their external representations.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>


xdr_int ( xdrs, ip)
XDR *xdrs;
int *ip;

Description

The xdr_int subroutine is a filter primitive that translates between C language integers and their external representations.

Parameters

xdrs Points to the eXternal Data Representation (XDR) stream handle.
ip Specifies the address of the integer.

Return Values

Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.

Related Information

List of XDR Programming References.

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

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