Subject: Re: bswap{16,32,64} in libutil ?
To: Klaus Klein <>
From: Manuel Bouyer <>
List: tech-userlevel
Date: 03/06/1998 17:50:59
On Mar 6, Klaus Klein wrote
> POSIX doesn't, and the single facility offered by XPG4.2 that fits
> into this class is swab().

I've seen such functions in restore(8), which has its own implementation.
Could you give more details about swab() ?
Is it worth implementing it in a library ?

Manuel Bouyer, LIP6, Universite Paris VI.