Re: need help on porting from 32bit to 64bit.
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jean-Daniel Dupas