MySQL 9.1.0
Source Code Documentation
xdr_float.c File Reference

Generic XDR routines implementation. More...

#include <endian.h>
#include <stdio.h>
#include <rpc/types.h>
#include <rpc/xdr.h>

Macros

#define LSW   (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
 

Functions

bool_t xdr_float (XDR *xdrs, float *fp)
 
bool_t xdr_double (XDR *xdrs, double *dp)
 

Detailed Description

Generic XDR routines implementation.

These are the "floating point" xdr routines used to (de)serialize most common data items. See xdr.h for more info on the interface to xdr.

Macro Definition Documentation

◆ LSW

#define LSW   (__FLOAT_WORD_ORDER == __BIG_ENDIAN)

Function Documentation

◆ xdr_double()

bool_t xdr_double ( XDR xdrs,
double *  dp 
)

◆ xdr_float()

bool_t xdr_float ( XDR xdrs,
float *  fp 
)