xdr_double Subroutine

Purpose

Translates between C language double-precision numbers and their external representations.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>

xdr_double ( xdrs,  dp)
XDR *xdrs;
double *dp;

Description

The xdr_double subroutine is a filter primitive that translates between C language double-precision numbers and their external representations.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
dp Specifies the address of the double-precision number.

Return Values

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