]> sourceware.org Git - newlib-cygwin.git/commit
Add two new macros, SLIST_CONCAT and LIST_CONCAT
authormckusick <mckusick@FreeBSD.org>
Tue, 4 Apr 2017 10:00:28 +0000 (12:00 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 4 Apr 2017 10:16:05 +0000 (12:16 +0200)
commit9998bd4b7c4596e47d8e0fbc6f1f370d096a6618
tree68c65e9a1100a2e0498fb788c12922b9294344a8
parent218c5e7d7264f1ed532d64d1932104fd8864b962
Add two new macros, SLIST_CONCAT and LIST_CONCAT

Add two new macros, SLIST_CONCAT and LIST_CONCAT. Note in both the
queue.h header file and in the queue.3 manual page that they are O(n) so
should be used only in low-usage paths with short lists (otherwise an
STAILQ or TAILQ should be used).

Reviewed by: kib
newlib/libc/include/sys/queue.h
This page took 0.028178 seconds and 5 git commands to generate.