[PATCH v7 14/14] linux/termios: regression test for termios speed functions

Bruno Haible bruno@clisp.org
Tue Jun 10 19:31:27 GMT 2025


Adhemerval Zanella Netto wrote:
> Seems a good addition to me, I'm ccing Paul/Bruno since this header is shared with
> gnulib and they might have some comments whether this would fit gnulib as well.

Thanks for thinking at gnulib. But this file is not shared with gnulib nor
with any other GNU package [1]; therefore I have nothing to say about this
proposed patch.

Gnulib has a header <stdcountof.h> (based on recent ISO C drafts [2]), that
defines a 'countof' macro, equivalent to 'array_length' macro. It's not
planned to add other array-related macros to this file, though.

Bruno

[1] https://codesearch.debian.net/search?q=%23define+array_end%28var%29&literal=1
[2] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3550.pdf





More information about the Libc-alpha mailing list