upgrade on AIX to E-server or P-server

Jay R. Ashworth jra at baylink.com
Sat Nov 26 07:40:18 PST 2005


On Fri, Nov 18, 2005 at 03:30:06PM -0500, Kenneth Brody wrote:
> Another would be to test it directly:
> 
> #include <stdio.h>
> 
> main()
>     {
>     long l = 0x11223344;
>     char *pt = (char *)&l;
> 
>     printf("%02x %02x %02x %02x\n",pt[0],pt[1],pt[2],pt[3]);
>     }
> 
> If you get "11 22 33 44", it's big-endian.  If you get "44 33 22 11",
> it's little-endian.  (If you get "33 44 11 22", it's a PDP-11.)

Ah, yes; the NUXI problem.

If he *does* get that, I wanna hear about it.  :-)

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

	"Space is called 'space' because there's so much *space* there."
		- John Walker, of Fourmilab, on Trek's End


More information about the Filepro-list mailing list