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

Technical Reference: Communications, Volume 1


xdr_short Subroutine

Purpose

Translates between C language short integers and their external representations.

Library

C Library (libc.a)

Syntax


#include <rpc/xdr.h>
xdr_short ( xdrs, sp)
XDR *xdrs;
short *sp;

Description

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

Parameters


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

Return Values

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

Implementation Specifics

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

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.1 Communications Programming Concepts.


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