> > > Perhaps (I don't know). But I also don't know what the portable way for > doing this would be apart from either writing your own tests, using > autoconf (bleh), or htons/htonl. I don't know why anyone would need to > deal with little-endian byte order in userland code, anyway. You may get some horrible windows network app. which sends its data in machine byte order ie little endian!. A good example of an app that has to cope with this is rdesktop....
Paul _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
