aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-10-21 06:48:03 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-10-21 06:48:03 +0200
commit7e5e3699980dfb39d19d21d1591b70b683cc00b2 (patch)
tree462fba8583d4ed7788c5dc8357c0018e668b8013 /man3
parentc460d23963d3508641bb87175bc9104e8b785e4b (diff)
downloadman-pages-7e5e3699980dfb39d19d21d1591b70b683cc00b2.tar.gz
list.3: Minor tweak's to Alex's text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-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