bswap.3: Use strtoull() for parsing 64-bit numbers
commit581c3ea730feb635f0670a372c4eedae22e555c8
authorJakub Wilk <jwilk@jwilk.net>
Fri, 11 Sep 2020 11:44:46 +0000 (11 13:44 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 11 Sep 2020 12:11:10 +0000 (11 14:11 +0200)
treeb172d5d53f48582d291c20da82e4aad643e56764
parent0ef3e1b730b68cf0606838db3fe192f05084966c
bswap.3: Use strtoull() for parsing 64-bit numbers

Before, on 32-bit systems:

    $ ./a.out 0x0123456789abcdef
    0xffffffff ==> 0xffffffff00000000

After:

    $ ./a.out 0x0123456789abcdef
    0x123456789abcdef ==> 0xefcdab8967452301

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/bswap.3