Skip site navigation (1)Skip section navigation (2)
Date:      04 Mar 1999 17:17:13 +1100
From:      Julian Assange <proff@iq.org>
To:        cgd@netbsd.org (Chris G. Demetriou)
Cc:        proff@iq.org
Subject:   Re: htonq
Message-ID:  <wx678hlqxi.fsf@yoshi.iq.org>
In-Reply-To: cgd@netbsd.org's message of "03 Mar 1999 12:28:48 -0800"
References:  <199903030130.MAA17738@yoshi.iq.org> <87pv6r8igu.fsf@redmail.redback.com> <19990303124920.B7027@cs.uni-bonn.de> <87hfs25ncv.fsf@redmail.redback.com>

next in thread | previous in thread | raw e-mail | index | archive | help
cgd@netbsd.org (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         <proff@iq.org>          http://iq.org/~proff

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wx678hlqxi.fsf>