]> git.ipfire.org Git - thirdparty/man-pages.git/commit - man7/unix.7
unix.7: Use sizeof consistently
authorAlejandro Colomar <colomar.6.4.3@gmail.com>
Thu, 3 Sep 2020 20:24:12 +0000 (22:24 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 5 Sep 2020 12:49:42 +0000 (14:49 +0200)
commit012b86a0b67fc182c35ab0c8580f47b07a0993ac
tree0af797e997cee99416fb0e5aca0777353a282da1
parent0ff1c5e28a8c6376a63990c60f03b3bdd57d5230
unix.7: Use sizeof consistently

Use ``sizeof`` consistently through all the examples in the following
way:

- Use the name of the variable instead of its type as argument for
  ``sizeof``.

Rationale:
https://www.kernel.org/doc/html/v5.8/process/coding-style.html#allocating-memory

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/unix.7