]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-sizeof: print size socklen_t
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 2 Mar 2020 14:52:28 +0000 (15:52 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 2 Mar 2020 14:54:57 +0000 (15:54 +0100)
commit0f1886872362135467d7219e08fa7120dd73bee5
tree77c90cd9ccf82f2f10c1656442f12b1ec1c41d61
parent64177e9e4e8b377b12980161d92a03923c2fa890
test-sizeof: print size socklen_t

It returns 32 bits, unsigned on amd64, so it's probably similar everywhere
with glibc. But let's make the code generic, without assuming specific size
or signedness.
src/test/test-sizeof.c