Re: Help on swap_fat_arch system call
Re: Help on swap_fat_arch system call
- Subject: Re: Help on swap_fat_arch system call
- From: Arnab Ganguly <email@hidden>
- Date: Wed, 24 Jun 2009 10:01:06 +0530
Hi Kevin,
Thanks a lot for your help.
Regards
Arnab
On Wed, Jun 24, 2009 at 9:58 AM, Kevin Van Vechten
<email@hidden> wrote:
On Jun 23, 2009, at 9:18 PM, Arnab Ganguly wrote:
Hi All,
Can you please help me on this function swap_fat_arch() (present in swap.h) I could see the declaration, where can I find the definition.
This function is defined in the 'cctools' project.
<http://www.opensource.apple.com/source/cctools/cctools-667.3/libmacho/swap.c>
I am not clear as what it does. Any help would be very much appreciated.
It can be used to swap a mach-o fat binary header from big to little endian (or vice versa). This may be necessary when read mach-o fat binaries from disk and parsing the results, depending on your host architecture.
Kevin
_______________________________________________
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