From: Ralph Corderoy Date: Mon, 21 Aug 2017 10:09:02 +0000 (+0100) Subject: Add ZERO(p) for the typical memset(p, 0, sizeof *p) dance. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/35ef9d158396dbf013a862dd8f830db64909826b?ds=inline;hp=35ef9d158396dbf013a862dd8f830db64909826b Add ZERO(p) for the typical memset(p, 0, sizeof *p) dance. Also seen as memset(&foo->bar_xyzzy, 0, sizeof foo->bar_xyzzy). I find it tedious to keep checking the parameters are in agreement when reading the code. ---