On 01/31/2017 05:59 PM, silvioprog wrote: > Complementing: > > $ cat /usr/local/include/microhttpd.h | grep 'MHD_VERSION' > #define MHD_VERSION 0x00095102 > > How to convert 0x00095102 version in human readable returning something > like 0.9.52? >
You should not. That's not what this is meant for, and it might not work. The only strict assurance we give is that it will be monotonically increasing, so you can use it in your code to test whether a particular MHD header is in the right range. If you absolutely need to printf the result, I suggest you just use %8X.
0xE29FC3CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
