All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fts.3: ATTRIBUTES: Note functions that are/aren't thread-safe
@ 2015-06-11  2:04 Zeng Linggang
       [not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 20+ messages in thread
From: Zeng Linggang @ 2015-06-11  2:04 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

After research, We think
* fts_open(),
* fts_set(),
* fts_close(),
are thread-safe. And
* fts_read(),
* fts_children(),
are not thread-safe. But, there are not
markings of them in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/fts.3 | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/man3/fts.3 b/man3/fts.3
index 7427fac..418a69a 100644
--- a/man3/fts.3
+++ b/man3/fts.3
@@ -772,6 +772,25 @@ as follows:
 The options were invalid.
 .SH VERSIONS
 These functions are available in Linux since glibc2.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw34 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR fts_open (),
+.BR fts_set (),
+.BR fts_close ()
+T}	Thread safety	MT-Safe
+T{
+.BR fts_read (),
+.BR fts_children ()
+T}	Thread safety	MT-Unsafe
+.TE
+
 .SH CONFORMING TO
 4.4BSD.
 .SH BUGS
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-06-12 19:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-11  2:04 [PATCH] fts.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
     [not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-11  2:04   ` [PATCH] getaddrinfo_a.3: ATTRIBUTES: Note functions that are thread-safe Zeng Linggang
     [not found]     ` <1433988270-8599-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:39       ` Michael Kerrisk (man-pages)
2015-06-11  2:04   ` [PATCH] getprotoent_r.3: " Zeng Linggang
     [not found]     ` <1433988270-8599-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:39       ` Michael Kerrisk (man-pages)
2015-06-11  2:04   ` [PATCH] getrpcent.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
     [not found]     ` <1433988270-8599-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:39       ` Michael Kerrisk (man-pages)
2015-06-11  2:04   ` [PATCH] getrpcent_r.3: ATTRIBUTES: Note functions that are thread-safe Zeng Linggang
     [not found]     ` <1433988270-8599-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:39       ` Michael Kerrisk (man-pages)
2015-06-11  2:04   ` [PATCH] getservent_r.3: " Zeng Linggang
     [not found]     ` <1433988270-8599-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:40       ` Michael Kerrisk (man-pages)
2015-06-11  2:04   ` [PATCH] profil.3: ATTRIBUTES: Note function that is not thread-safe Zeng Linggang
     [not found]     ` <1433988270-8599-7-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:40       ` Michael Kerrisk (man-pages)
2015-06-11  2:04   ` [PATCH] rcmd.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
     [not found]     ` <1433988270-8599-8-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:40       ` Michael Kerrisk (man-pages)
2015-06-11  2:04   ` [PATCH] resolver.3: ATTRIBUTES: Note functions that are thread-safe Zeng Linggang
     [not found]     ` <1433988270-8599-9-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:41       ` Michael Kerrisk (man-pages)
2015-06-11  2:04   ` [PATCH] setaliasent.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
     [not found]     ` <1433988270-8599-10-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:41       ` Michael Kerrisk (man-pages)
2015-06-12 19:38   ` [PATCH] fts.3: " Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.