Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 1995 12:49:10 -0300 (EST)
From:      Pedro A M Vazquez <vazquez@iqm.unicamp.br>
To:        rpt@miles.sso.loral.com (Richard Toren)
Cc:        hackers@freebsd.org
Subject:   Re: missing xdr routines ??
Message-ID:  <199507221549.MAA19072@kalypso.iqm.unicamp.br>
In-Reply-To: <Pine.SUN.3.91.950722111507.5540A-100000@miles> from "Richard Toren" at Jul 22, 95 11:18:38 am

next in thread | previous in thread | raw e-mail | index | archive | help
I'm using this code I got from pvm2.4.1:

int
xdr_float(xdrp, fp)
        XDR *xdrp; 
        float *fp; 
{       
        return xdr_long(xdrp, (long*)fp);
}       
        
int     
xdr_double(xdrp, dp)
        XDR *xdrp;  
        double *dp; 
{       
                return xdr_long(xdrp, (long*)dp + 1)
                                && xdr_long(xdrp, (long*)dp);
}                               
                                

Pedro

Richard Toren said:
> 
> I seem to be missing 2 xdr routines. These are xdr_float and xdr_double. 
> The <rpc/xdr.h> file has prototypes for them , but I could not find them 
> in libc.a. I was able to find all of the rest mentioned in the man page.
> I checked both 2.0 and 2.0.5 libraries.
> 
> What is the status on these? Known problem, oversight, feature?
> 
>                          ====================================================
> Rip Toren               | The bad news is that C++ is not an object-oriented |
> rpt@miles.sso.loral.com | programming language. .... The good news is that   |
>                         | C++ supports object-oriented programming.          |
>                         |    C++ Programming & Fundamental Concepts          |
>                         |     by Anderson & Heinze                           |
>                          ====================================================
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507221549.MAA19072>