Re: need help on porting from 32bit to 64bit.
Re: need help on porting from 32bit to 64bit.
- Subject: Re: need help on porting from 32bit to 64bit.
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 21 Apr 2010 15:01:52 +0200
Swapping byte on OS X is a matter of taste.
OSSwap API (libkern)
NSSwap API (Foundation)
CFSwap API (CoreFoundation)
Core Endian API (CoreServices)
and probably other hidden somewhere.
Le 21 avr. 2010 à 14:22, Nico Schmidt a écrit :
> What about OSSwapBigToHostInt64 and OSSwapHostToBigInt64 both from #include <libkern/OSByteOrder.h> ?
>
> Nico
>
> On 21.04.2010, at 14:05, Arnab Ganguly wrote:
>
>> Hi All,
>> I am porting my application from 32bit to 64bit.I see functions like ntohl and htonl is being used. What should I use it equivalent in 64bit code base.
>> Thanks,
>> -A
-- Jean-Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden