Subject: Converting to little endian
To: None <tech-kern@netbsd.org>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: tech-kern
Date: 12/28/1998 05:08:59
I need to convert u_int32_t to little endian format (in the USB drivers).
I assumed that this is a pretty common operation so there should be
functions (macros) for it, but a quick perusal of the code gave me
nothing?

What is the standard way to do it?

     -- Lennart