W dniu 2013-11-05 01:00, Ramsay Jones pisze:
[Note: I have never particularly liked htons, htonl et.al., so adding
these htonll/ntohll functions doesn't thrill me! :-D For example see
this post[1], which echo's my sentiments exactly.]
HTH
ATB,
Ramsay Jones
[1] http://commandcenter.blogspot.co.uk/2012/04/byte-order-fallacy.html
Errr... htonl is about host to network order, and not about big- or
little-endianness of architecture. The macros are good, its their
implementation that might fail [1].
--
Jakub Narębski
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html