From owner-freebsd-hackers Wed Mar 3 22:18:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from yoshi.iq.org (yoshy.iq.org [203.4.184.224]) by hub.freebsd.org (Postfix) with ESMTP id 48A0E14D4D for ; Wed, 3 Mar 1999 22:18:01 -0800 (PST) (envelope-from proff@yoshi.iq.org) Received: (from proff@localhost) by yoshi.iq.org (8.8.8/8.8.8) id RAA19892; Thu, 4 Mar 1999 17:17:16 +1100 (EST) To: cgd@netbsd.org (Chris G. Demetriou) Cc: Ignatios Souvatzis , tech-misc@netbsd.org, tech-userlevel@netbsd.org, tech-kern@netbsd.org, freebsd-hackers@freebsd.org Subject: Re: htonq References: <199903030130.MAA17738@yoshi.iq.org> <87pv6r8igu.fsf@redmail.redback.com> <19990303124920.B7027@cs.uni-bonn.de> <87hfs25ncv.fsf@redmail.redback.com> Cc: proff@iq.org From: Julian Assange Date: 04 Mar 1999 17:17:13 +1100 In-Reply-To: cgd@netbsd.org's message of "03 Mar 1999 12:28:48 -0800" Message-ID: Lines: 19 User-Agent: Gnus/5.070066 (Pterodactyl Gnus v0.66) XEmacs/20.4 (Emerald) Mime-Version: 1.0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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