list_for_each_safe(9) on Linux
The text 0849741ba25c, as Debian 8 (Jessie) shipped it.
iterate over a list safe against removal of list entry
The text 0849741ba25c, as Debian 8 (Jessie) shipped it.
iterate over a list safe against removal of list entry