Subject: Re: htonq
To: Chris G. Demetriou <>
From: Julian Assange <>
List: tech-userlevel
Date: 03/04/1999 17:17:13 (Chris G. Demetriou) writes:

> do any other OSes do something w.r.t. hton and ntoh for 64-bit
> integers?  i'm pretty sure Digital UNIX does, but i don't recall what
> it is...

linux has hton64 / ntoh64 inside the kernel (though not in user land).
if past behavior is any indicator this means that everyone else does
something completely different :)

hton64 is certainly more meaningful, though htonq is more in keeping
with tradition, and printf's %q

Julian Assange         <>

Man is quite insane. He wouldn't know how to create a
maggot and he creates Gods by the dozen.
    - Michel de Montaigne, _Essais_