aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/list.37
1 files changed, 3 insertions, 4 deletions
diff --git a/man3/list.3 b/man3/list.3
index bff952caee..8ad35739a5 100644
--- a/man3/list.3
+++ b/man3/list.3
@@ -283,11 +283,10 @@ to be removed or freed within the loop,
as it would interfere with the traversal.
The macro
.BR LIST_FOREACH_SAFE (),
-which is not present in glibc,
-solves this bug by
-allowing to both remove
+which is present on the BSDs but is not present in glibc,
+fixes this limitation by allowing
.I var
-as well as free it from within the loop safely
+to safely be removed from the list and freed from within the loop
without interfering with the traversal.
.SH EXAMPLES
.EX