diff options
author | lstewart <lstewart@FreeBSD.org> | 2017-04-04 12:00:24 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-04-04 12:16:05 +0200 |
commit | a36e348a9f6d8ec690b827a3ea2e0ef9814579f7 (patch) | |
tree | 7173267a10f43b1994d9ba7a8408db4c22dbd0ee /newlib/libc/stdlib/reallocarray.c | |
parent | d3e919b42a26c14d47f668397519f455807dd613 (diff) | |
download | cygnal-a36e348a9f6d8ec690b827a3ea2e0ef9814579f7.tar.gz cygnal-a36e348a9f6d8ec690b827a3ea2e0ef9814579f7.tar.bz2 cygnal-a36e348a9f6d8ec690b827a3ea2e0ef9814579f7.zip |
Add new FOREACH_FROM variants for queue(3)
Add new FOREACH_FROM variants of the queue(3) FOREACH macros which can
optionally start the traversal from a previously found element by
passing the element in as "var". Passing a NULL "var" retains the same
semantics as the regular FOREACH macros.
Kudos to phk for suggesting the "FROM" suffix instead of my original
proposal.
Reviewed by: jhb (previous version), rpaulo
MFC after: 1 week
Diffstat (limited to 'newlib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions