Date: Tue, 03 Feb 2004 11:01:55 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Pawel Jakub Dawidek <pjd@freebsd.org> Cc: freebsd-arch@freebsd.org Subject: Re: Size-independent byte order swapping functions. Message-ID: <6923.1075802515@critter.freebsd.dk> In-Reply-To: Your message of "Tue, 03 Feb 2004 09:34:44 %2B0100." <20040203083444.GM4200@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20040203083444.GM4200@garage.freebsd.pl>, Pawel Jakub Dawidek write s: >I'm planning to commit this patch: > > http://garage.freebsd.pl/patches/endian.h.patch I have a hard time seeing a sensible use for these. Endianess conversion is almost exclusively used in communications (even if the "transmission media" is a disk), and I can't possibly see how it can make sense to be lax about wordsize but strict about byteordering. Could you please tell us what you need these for and why you could not use the explicitly sized families of endian functions ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6923.1075802515>