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

xdr_u_short Subroutine

Purpose

Translates between C language unsigned short integers and their external representations.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>
xdr_u_short (xdrs, usp)
XDR *xdrs;
u_short *usp;

Description

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

Parameters

xdrs Points to the eXternal Data Representation (XDR) stream handle.
usp Specifies the address of the unsigned 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 Version 4.3 Communications Programming Concepts.


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