Adding a FOREACH_CONTINUE() variant to queue(3)

Poul-Henning Kamp phk at phk.freebsd.dk
Wed May 1 05:29:11 UTC 2013


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(...) ?


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-hackers mailing list