Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Portable Endianness . . . . . . . . (was Re: Portability of Misaligned Data Access)



Josh Glover wrote:

> How about just always using htons(3) and htonl(3) to get compatible byte orders?

I do so for data communicated little-endian. 

For data that is communicated big-endian, 
I must write different routines, albeit similarly inspired. 



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links