xdr_float Subroutine

Purpose

Translates between C language floats and their external representations.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>

xdr_float ( xdrs,  fp)
XDR *xdrs;
float *fp;

Description

The xdr_float subroutine is a filter primitive that translates between C language floats (normalized single-precision floating-point numbers) and their external representations.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
fp Specifies the address of the float.

Return Values

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