xdr_u_int Subroutine

Purpose

Translates between C language unsigned integers and their external representations.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>

xdr_u_int ( xdrs,  up)
XDR *xdrs;
u_int *up;

Description

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

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
up Specifies the address of the unsigned long integer.

Return Values

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