On Fri, 4 Aug 2023, Alejandro Colomar wrote:

>*  src/roff/troff/env.cpp (lengthof): Add macro to calculate the number
>   of elements in an array.  It's named after the proposal to ISO C,
>   _Lengthof(), which wasn't accepted for C23, but hopefully will be
>   added in a future revision.

Oh, interesting. In the BSD world it is known as NELEM, NENTS, N
or specific (e.g. NCMDS=NELEM(cmds)).

>Signed-off-by: Alejandro Colomar <a...@kernel.org>

lgtm mirabilos <m...@mirbsd.org>

(don’t mail to that address from Googlemail though, messages
may arrive late or never because, well, Google…)

bye,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)

Reply via email to