Does that software have some prerequisites?
Or is this something completely unrelated?
Hello ralph !
what you wrote is perfect.
For personal training purpose, I was giving a look at a software package whose link I found on
https://wiki.osdev.org/FAT.
It's a utility addressed managing of FAT12/32 images. It retrieves some info from the Boot Sector fields (BPB, EBPB, etc....).
So the original byteswap.h is probably related with the little endian format followed by the FAT filesystem.
Generally speaking, I'm agree with you about the "software prerequisites" and surely this utility has been written for the Linux environment.
I've compiled it with success on FreeBSD also if the byteswap.h used by ALSA audio drivers could be not completely related with the package in question.
I don't know in what measure at this moment. I'm evaluting it checking the results with the Boot Sector's fields shown by the Hexdecimal editor.
Before post the question, I've tried to search for a POSIX version of this file, but to me also Posix seems silent on it.
Again: thanks very much for your continuous tips !
Some times I avoid to disturbing you because I think that you are engaged in the work. But your replies are always welcome and great appreciated.
Bye.