Adding a FOREACH_CONTINUE() variant to queue(3)

Lawrence Stewart lstewart at freebsd.org
Wed May 1 05:59:51 UTC 2013


On 05/01/13 15:29, Poul-Henning Kamp wrote:
> In message <518092BF.9070105 at freebsd.org>, Lawrence Stewart writes:
>> [reposting from freebsd-arch@ - was probably the wrong list]
> 
>> #define TAILQ_FOREACH_CONTINUE(var, head, field)		\
> 
> Obligatory bikeshedding:
> 
> I find the suffix "_CONTINUE" non-obvious, as there may not have
> been any previos FOREACH involved.
> 
> TAILQ_FOREACH_FROM(...) ?

Agreed. Thanks for the input.



More information about the freebsd-hackers mailing list