From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert P. J. Day" Subject: canonical byte swap macros? Date: Sun, 10 Jul 2005 21:02:02 -0400 (EDT) Message-ID: Mime-Version: 1.0 Return-path: Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: TEXT/PLAIN; charset="us-ascii" Content-Transfer-Encoding: 7bit To: C programming list is there a standard set of byte swap macros/functions for doing big/little endian conversion? i have no interest in re-inventing the wheel and i'm sure there's a universally-recognized set of macros for this, no? rday