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: Kevin Van Vechten <email@hidden>
- Date: Tue, 23 Jun 2009 21:28:17 -0700
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