* [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
* [PATCH] getaddrinfo_a.3: ATTRIBUTES: Note functions that are thread-safe
[not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-11 2:04 ` Zeng Linggang
[not found] ` <1433988270-8599-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-11 2:04 ` [PATCH] getprotoent_r.3: " Zeng Linggang
` (8 subsequent siblings)
9 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
* getaddrinfo_a(),
* gai_suspend(),
* gai_error(),
* gai_cancel(),
are thread-safe. But, there are not
markings of them in glibc document.
Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
man3/getaddrinfo_a.3 | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/man3/getaddrinfo_a.3 b/man3/getaddrinfo_a.3
index 3bbf6aa..7673b16 100644
--- a/man3/getaddrinfo_a.3
+++ b/man3/getaddrinfo_a.3
@@ -302,6 +302,22 @@ The
.BR gai_strerror (3)
function translates these error codes to a human readable string,
suitable for error reporting.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw31 lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR getaddrinfo_a (),
+.BR gai_suspend (),
+.BR gai_error (),
+.BR gai_cancel ()
+T} Thread safety MT-Safe
+.TE
+
.SH CONFORMING TO
These functions are GNU extensions;
they first appeared in glibc in version 2.2.3.
--
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
* [PATCH] getprotoent_r.3: ATTRIBUTES: Note functions that are thread-safe
[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
@ 2015-06-11 2:04 ` Zeng Linggang
[not found] ` <1433988270-8599-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-11 2:04 ` [PATCH] getrpcent.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
` (7 subsequent siblings)
9 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
* getprotoent_r(),
* getprotobyname_r(),
* getprotobynumber_r(),
are thread-safe. But, there are not
markings of them in glibc document.
Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
man3/getprotoent_r.3 | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/man3/getprotoent_r.3 b/man3/getprotoent_r.3
index 8d25c0c..00f76b9 100644
--- a/man3/getprotoent_r.3
+++ b/man3/getprotoent_r.3
@@ -128,6 +128,23 @@ is too small.
Try again with a larger buffer
(and increased
.IR buflen ).
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR getprotoent_r (),
+.br
+.BR getprotobyname_r (),
+.br
+.BR getprotobynumber_r ()
+T} Thread safety MT-Safe locale
+.TE
+
.SH CONFORMING TO
These functions are GNU extensions.
Functions with similar names exist on some other systems,
--
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
* [PATCH] getrpcent.3: ATTRIBUTES: Note functions that are/aren't thread-safe
[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
2015-06-11 2:04 ` [PATCH] getprotoent_r.3: " Zeng Linggang
@ 2015-06-11 2:04 ` Zeng Linggang
[not found] ` <1433988270-8599-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-11 2:04 ` [PATCH] getrpcent_r.3: ATTRIBUTES: Note functions that are thread-safe Zeng Linggang
` (6 subsequent siblings)
9 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
* setrpcent(),
* endrpcent(),
are thread-safe. And
* getrpcent(),
* getrpcbyname(),
* getrpcbynumber(),
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/getrpcent.3 | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/man3/getrpcent.3 b/man3/getrpcent.3
index ef4311f..8bf9e51 100644
--- a/man3/getrpcent.3
+++ b/man3/getrpcent.3
@@ -99,6 +99,25 @@ NULL is returned on EOF or error.
.TP
.I /etc/rpc
RPC program number database.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw17 lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR getrpcent (),
+.BR getrpcbyname (),
+.BR getrpcbynumber ()
+T} Thread safety MT-Unsafe
+T{
+.BR setrpcent (),
+.BR endrpcent ()
+T} Thread safety MT-Safe locale
+.TE
+
.SH CONFORMING TO
Not in POSIX.1-2001.
Present on the BSDs, Solaris, and many other systems.
--
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
* [PATCH] getrpcent_r.3: ATTRIBUTES: Note functions that are thread-safe
[not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
` (2 preceding siblings ...)
2015-06-11 2:04 ` [PATCH] getrpcent.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
@ 2015-06-11 2:04 ` Zeng Linggang
[not found] ` <1433988270-8599-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-11 2:04 ` [PATCH] getservent_r.3: " Zeng Linggang
` (5 subsequent siblings)
9 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
* getrpcent_r(),
* getrpcbyname_r(),
* getrpcbynumber_r(),
are thread-safe. But, there are not
markings of them in glibc document.
Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
man3/getrpcent_r.3 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/man3/getrpcent_r.3 b/man3/getrpcent_r.3
index 56609ac..53452c7 100644
--- a/man3/getrpcent_r.3
+++ b/man3/getrpcent_r.3
@@ -127,6 +127,21 @@ is too small.
Try again with a larger buffer
(and increased
.IR buflen ).
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw19 lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR getrpcent_r (),
+.BR getrpcbyname_r (),
+.BR getrpcbynumber_r ()
+T} Thread safety MT-Safe locale
+.TE
+
.SH CONFORMING TO
These functions are GNU extensions.
Functions with similar names exist on some other systems,
--
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
* [PATCH] getservent_r.3: ATTRIBUTES: Note functions that are thread-safe
[not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
` (3 preceding siblings ...)
2015-06-11 2:04 ` [PATCH] getrpcent_r.3: ATTRIBUTES: Note functions that are thread-safe Zeng Linggang
@ 2015-06-11 2:04 ` Zeng Linggang
[not found] ` <1433988270-8599-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-11 2:04 ` [PATCH] profil.3: ATTRIBUTES: Note function that is not thread-safe Zeng Linggang
` (4 subsequent siblings)
9 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
* getservent_r(),
* getservbyname_r(),
* getservbyport_r(),
are thread-safe. But, there are not
markings of them in glibc document.
Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
man3/getservent_r.3 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/man3/getservent_r.3 b/man3/getservent_r.3
index a655ab1..0804395 100644
--- a/man3/getservent_r.3
+++ b/man3/getservent_r.3
@@ -127,6 +127,21 @@ is too small.
Try again with a larger buffer
(and increased
.IR buflen ).
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw18 lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR getservent_r (),
+.BR getservbyname_r (),
+.BR getservbyport_r ()
+T} Thread safety MT-Safe locale
+.TE
+
.SH CONFORMING TO
These functions are GNU extensions.
Functions with similar names exist on some other systems,
--
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
* [PATCH] profil.3: ATTRIBUTES: Note function that is not thread-safe
[not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
` (4 preceding siblings ...)
2015-06-11 2:04 ` [PATCH] getservent_r.3: " Zeng Linggang
@ 2015-06-11 2:04 ` Zeng Linggang
[not found] ` <1433988270-8599-7-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-11 2:04 ` [PATCH] rcmd.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
` (3 subsequent siblings)
9 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 profil() is not thread-safe. But,
there is not marking of profil() in glibc document.
Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
man3/profil.3 | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/man3/profil.3 b/man3/profil.3
index 437ee28..e087e7a 100644
--- a/man3/profil.3
+++ b/man3/profil.3
@@ -67,6 +67,19 @@ If
is NULL, profiling is disabled.
.SH RETURN VALUE
Zero is always returned.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR profil ()
+T} Thread safety MT-Unsafe
+.TE
+
.SH CONFORMING TO
Similar to a call in SVr4 (but not POSIX.1-2001).
.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
* [PATCH] rcmd.3: ATTRIBUTES: Note functions that are/aren't thread-safe
[not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
` (5 preceding siblings ...)
2015-06-11 2:04 ` [PATCH] profil.3: ATTRIBUTES: Note function that is not thread-safe Zeng Linggang
@ 2015-06-11 2:04 ` Zeng Linggang
[not found] ` <1433988270-8599-8-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-11 2:04 ` [PATCH] resolver.3: ATTRIBUTES: Note functions that are thread-safe Zeng Linggang
` (2 subsequent siblings)
9 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
* rresvport(),
* iruserok(),
* ruserok(),
* rresvport_af(),
* iruserok_af(),
* ruserok_af(),
are thread-safe. And
* rcmd(),
* rcmd_af(),
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/rcmd.3 | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/man3/rcmd.3 b/man3/rcmd.3
index 7bc7313..64feb53 100644
--- a/man3/rcmd.3
+++ b/man3/rcmd.3
@@ -267,6 +267,30 @@ The functions
and
.BR ruserok_af ()
functions are provide in glibc since version 2.2.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw17 lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR rcmd (),
+.BR rcmd_af ()
+T} Thread safety MT-Unsafe
+T{
+.BR rresvport (),
+.BR rresvport_af ()
+T} Thread safety MT-Safe
+T{
+.BR iruserok (),
+.BR ruserok (),
+.BR iruserok_af (),
+.BR ruserok_af ()
+T} Thread safety MT-Safe locale
+.TE
+
.SH CONFORMING TO
Not in POSIX.1-2001.
Present on the BSDs, Solaris, and many other systems.
--
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
* [PATCH] resolver.3: ATTRIBUTES: Note functions that are thread-safe
[not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
` (6 preceding siblings ...)
2015-06-11 2:04 ` [PATCH] rcmd.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
@ 2015-06-11 2:04 ` Zeng Linggang
[not found] ` <1433988270-8599-9-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-11 2:04 ` [PATCH] setaliasent.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
2015-06-12 19:38 ` [PATCH] fts.3: " Michael Kerrisk (man-pages)
9 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
* res_ninit(),
* res_nquery(),
* res_nsearch(),
* res_nquerydomain(),
* res_nmkquery(),
* res_nsend(),
* dn_comp(),
* dn_expand()
are thread-safe. But, there are not
markings of them in glibc document.
Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
man3/resolver.3 | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/man3/resolver.3 b/man3/resolver.3
index ef12b4f..996b1ab 100644
--- a/man3/resolver.3
+++ b/man3/resolver.3
@@ -431,6 +431,28 @@ of the compressed name, or \-1 if an error occurs.
/etc/resolv.conf resolver configuration file
/etc/host.conf resolver configuration file
.fi
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw19 lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR res_ninit (),
+.BR res_nquery (),
+.BR res_nsearch (),
+.BR res_nquerydomain (),
+.BR res_nsend ()
+T} Thread safety MT-Safe locale
+T{
+.BR res_nmkquery (),
+.BR dn_comp (),
+.BR dn_expand ()
+T} Thread safety MT-Safe
+.TE
+
.SH CONFORMING TO
4.3BSD.
.SH SEE ALSO
--
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
* [PATCH] setaliasent.3: ATTRIBUTES: Note functions that are/aren't thread-safe
[not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
` (7 preceding siblings ...)
2015-06-11 2:04 ` [PATCH] resolver.3: ATTRIBUTES: Note functions that are thread-safe Zeng Linggang
@ 2015-06-11 2:04 ` Zeng Linggang
[not found] ` <1433988270-8599-10-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-06-12 19:38 ` [PATCH] fts.3: " Michael Kerrisk (man-pages)
9 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
* setaliasent(),
* endaliasent(),
* getaliasent_r(),
* getaliasbyname_r(),
are thread-safe. And
* getaliasent(),
* getaliasbyname(),
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/setaliasent.3 | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/man3/setaliasent.3 b/man3/setaliasent.3
index d78fd43..c8dd7d3 100644
--- a/man3/setaliasent.3
+++ b/man3/setaliasent.3
@@ -98,6 +98,26 @@ The default alias database is the file
This can be changed in the
.I /etc/nsswitch.conf
file.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw19 lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR setaliasent (),
+.BR endaliasent (),
+.BR getaliasent_r (),
+.BR getaliasbyname_r ()
+T} Thread safety MT-Safe locale
+T{
+.BR getaliasent (),
+.BR getaliasbyname ()
+T} Thread safety MT-Unsafe
+.TE
+
.SH CONFORMING TO
These routines are glibc-specific.
The NeXT system has similar routines:
--
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
* Re: [PATCH] fts.3: ATTRIBUTES: Note functions that are/aren't thread-safe
[not found] ` <1433988270-8599-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
` (8 preceding siblings ...)
2015-06-11 2:04 ` [PATCH] setaliasent.3: ATTRIBUTES: Note functions that are/aren't thread-safe Zeng Linggang
@ 2015-06-12 19:38 ` Michael Kerrisk (man-pages)
9 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:38 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> 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.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> 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
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [flat|nested] 20+ messages in thread
* Re: [PATCH] getaddrinfo_a.3: ATTRIBUTES: Note functions that are thread-safe
[not found] ` <1433988270-8599-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-12 19:39 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:39 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> After research, We think
> * getaddrinfo_a(),
> * gai_suspend(),
> * gai_error(),
> * gai_cancel(),
> are thread-safe. But, there are not
> markings of them in glibc document.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/getaddrinfo_a.3 | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/man3/getaddrinfo_a.3 b/man3/getaddrinfo_a.3
> index 3bbf6aa..7673b16 100644
> --- a/man3/getaddrinfo_a.3
> +++ b/man3/getaddrinfo_a.3
> @@ -302,6 +302,22 @@ The
> .BR gai_strerror (3)
> function translates these error codes to a human readable string,
> suitable for error reporting.
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw31 lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR getaddrinfo_a (),
> +.BR gai_suspend (),
> +.BR gai_error (),
> +.BR gai_cancel ()
> +T} Thread safety MT-Safe
> +.TE
> +
> .SH CONFORMING TO
> These functions are GNU extensions;
> they first appeared in glibc in version 2.2.3.
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [flat|nested] 20+ messages in thread
* Re: [PATCH] getprotoent_r.3: ATTRIBUTES: Note functions that are thread-safe
[not found] ` <1433988270-8599-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-12 19:39 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:39 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> After research, We think
> * getprotoent_r(),
> * getprotobyname_r(),
> * getprotobynumber_r(),
> are thread-safe. But, there are not
> markings of them in glibc document.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/getprotoent_r.3 | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/man3/getprotoent_r.3 b/man3/getprotoent_r.3
> index 8d25c0c..00f76b9 100644
> --- a/man3/getprotoent_r.3
> +++ b/man3/getprotoent_r.3
> @@ -128,6 +128,23 @@ is too small.
> Try again with a larger buffer
> (and increased
> .IR buflen ).
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lb lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR getprotoent_r (),
> +.br
> +.BR getprotobyname_r (),
> +.br
> +.BR getprotobynumber_r ()
> +T} Thread safety MT-Safe locale
> +.TE
> +
> .SH CONFORMING TO
> These functions are GNU extensions.
> Functions with similar names exist on some other systems,
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [flat|nested] 20+ messages in thread
* Re: [PATCH] getrpcent.3: ATTRIBUTES: Note functions that are/aren't thread-safe
[not found] ` <1433988270-8599-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-12 19:39 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:39 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> After research, We think
> * setrpcent(),
> * endrpcent(),
> are thread-safe. And
> * getrpcent(),
> * getrpcbyname(),
> * getrpcbynumber(),
> are not thread-safe. But, there are not
> markings of them in glibc document.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/getrpcent.3 | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/man3/getrpcent.3 b/man3/getrpcent.3
> index ef4311f..8bf9e51 100644
> --- a/man3/getrpcent.3
> +++ b/man3/getrpcent.3
> @@ -99,6 +99,25 @@ NULL is returned on EOF or error.
> .TP
> .I /etc/rpc
> RPC program number database.
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw17 lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR getrpcent (),
> +.BR getrpcbyname (),
> +.BR getrpcbynumber ()
> +T} Thread safety MT-Unsafe
> +T{
> +.BR setrpcent (),
> +.BR endrpcent ()
> +T} Thread safety MT-Safe locale
> +.TE
> +
> .SH CONFORMING TO
> Not in POSIX.1-2001.
> Present on the BSDs, Solaris, and many other systems.
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [flat|nested] 20+ messages in thread
* Re: [PATCH] getrpcent_r.3: ATTRIBUTES: Note functions that are thread-safe
[not found] ` <1433988270-8599-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-12 19:39 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:39 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> After research, We think
> * getrpcent_r(),
> * getrpcbyname_r(),
> * getrpcbynumber_r(),
> are thread-safe. But, there are not
> markings of them in glibc document.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/getrpcent_r.3 | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/man3/getrpcent_r.3 b/man3/getrpcent_r.3
> index 56609ac..53452c7 100644
> --- a/man3/getrpcent_r.3
> +++ b/man3/getrpcent_r.3
> @@ -127,6 +127,21 @@ is too small.
> Try again with a larger buffer
> (and increased
> .IR buflen ).
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw19 lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR getrpcent_r (),
> +.BR getrpcbyname_r (),
> +.BR getrpcbynumber_r ()
> +T} Thread safety MT-Safe locale
> +.TE
> +
> .SH CONFORMING TO
> These functions are GNU extensions.
> Functions with similar names exist on some other systems,
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [flat|nested] 20+ messages in thread
* Re: [PATCH] getservent_r.3: ATTRIBUTES: Note functions that are thread-safe
[not found] ` <1433988270-8599-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-12 19:40 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:40 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> After research, We think
> * getservent_r(),
> * getservbyname_r(),
> * getservbyport_r(),
> are thread-safe. But, there are not
> markings of them in glibc document.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/getservent_r.3 | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/man3/getservent_r.3 b/man3/getservent_r.3
> index a655ab1..0804395 100644
> --- a/man3/getservent_r.3
> +++ b/man3/getservent_r.3
> @@ -127,6 +127,21 @@ is too small.
> Try again with a larger buffer
> (and increased
> .IR buflen ).
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw18 lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR getservent_r (),
> +.BR getservbyname_r (),
> +.BR getservbyport_r ()
> +T} Thread safety MT-Safe locale
> +.TE
> +
> .SH CONFORMING TO
> These functions are GNU extensions.
> Functions with similar names exist on some other systems,
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [flat|nested] 20+ messages in thread
* Re: [PATCH] profil.3: ATTRIBUTES: Note function that is not thread-safe
[not found] ` <1433988270-8599-7-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-12 19:40 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:40 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> After research, We think profil() is not thread-safe. But,
> there is not marking of profil() in glibc document.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/profil.3 | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/man3/profil.3 b/man3/profil.3
> index 437ee28..e087e7a 100644
> --- a/man3/profil.3
> +++ b/man3/profil.3
> @@ -67,6 +67,19 @@ If
> is NULL, profiling is disabled.
> .SH RETURN VALUE
> Zero is always returned.
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lb lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR profil ()
> +T} Thread safety MT-Unsafe
> +.TE
> +
> .SH CONFORMING TO
> Similar to a call in SVr4 (but not POSIX.1-2001).
> .SH BUGS
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [flat|nested] 20+ messages in thread
* Re: [PATCH] rcmd.3: ATTRIBUTES: Note functions that are/aren't thread-safe
[not found] ` <1433988270-8599-8-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-12 19:40 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:40 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> After research, We think
> * rresvport(),
> * iruserok(),
> * ruserok(),
> * rresvport_af(),
> * iruserok_af(),
> * ruserok_af(),
> are thread-safe. And
> * rcmd(),
> * rcmd_af(),
> are not thread-safe. But, there are not
> markings of them in glibc document.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/rcmd.3 | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/man3/rcmd.3 b/man3/rcmd.3
> index 7bc7313..64feb53 100644
> --- a/man3/rcmd.3
> +++ b/man3/rcmd.3
> @@ -267,6 +267,30 @@ The functions
> and
> .BR ruserok_af ()
> functions are provide in glibc since version 2.2.
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw17 lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR rcmd (),
> +.BR rcmd_af ()
> +T} Thread safety MT-Unsafe
> +T{
> +.BR rresvport (),
> +.BR rresvport_af ()
> +T} Thread safety MT-Safe
> +T{
> +.BR iruserok (),
> +.BR ruserok (),
> +.BR iruserok_af (),
> +.BR ruserok_af ()
> +T} Thread safety MT-Safe locale
> +.TE
> +
> .SH CONFORMING TO
> Not in POSIX.1-2001.
> Present on the BSDs, Solaris, and many other systems.
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [flat|nested] 20+ messages in thread
* Re: [PATCH] resolver.3: ATTRIBUTES: Note functions that are thread-safe
[not found] ` <1433988270-8599-9-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-12 19:41 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:41 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> After research, We think
> * res_ninit(),
> * res_nquery(),
> * res_nsearch(),
> * res_nquerydomain(),
> * res_nmkquery(),
> * res_nsend(),
> * dn_comp(),
> * dn_expand()
> are thread-safe. But, there are not
> markings of them in glibc document.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/resolver.3 | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/man3/resolver.3 b/man3/resolver.3
> index ef12b4f..996b1ab 100644
> --- a/man3/resolver.3
> +++ b/man3/resolver.3
> @@ -431,6 +431,28 @@ of the compressed name, or \-1 if an error occurs.
> /etc/resolv.conf resolver configuration file
> /etc/host.conf resolver configuration file
> .fi
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw19 lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR res_ninit (),
> +.BR res_nquery (),
> +.BR res_nsearch (),
> +.BR res_nquerydomain (),
> +.BR res_nsend ()
> +T} Thread safety MT-Safe locale
> +T{
> +.BR res_nmkquery (),
> +.BR dn_comp (),
> +.BR dn_expand ()
> +T} Thread safety MT-Safe
> +.TE
> +
> .SH CONFORMING TO
> 4.3BSD.
> .SH SEE ALSO
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [flat|nested] 20+ messages in thread
* Re: [PATCH] setaliasent.3: ATTRIBUTES: Note functions that are/aren't thread-safe
[not found] ` <1433988270-8599-10-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-06-12 19:41 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 20+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-06-12 19:41 UTC (permalink / raw)
To: Zeng Linggang
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 06/11/2015 04:04 AM, Zeng Linggang wrote:
> After research, We think
> * setaliasent(),
> * endaliasent(),
> * getaliasent_r(),
> * getaliasbyname_r(),
> are thread-safe. And
> * getaliasent(),
> * getaliasbyname(),
> are not thread-safe. But, there are not
> markings of them in glibc document.
Thanks, Zeng Linggang. Applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/setaliasent.3 | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/man3/setaliasent.3 b/man3/setaliasent.3
> index d78fd43..c8dd7d3 100644
> --- a/man3/setaliasent.3
> +++ b/man3/setaliasent.3
> @@ -98,6 +98,26 @@ The default alias database is the file
> This can be changed in the
> .I /etc/nsswitch.conf
> file.
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw19 lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR setaliasent (),
> +.BR endaliasent (),
> +.BR getaliasent_r (),
> +.BR getaliasbyname_r ()
> +T} Thread safety MT-Safe locale
> +T{
> +.BR getaliasent (),
> +.BR getaliasbyname ()
> +T} Thread safety MT-Unsafe
> +.TE
> +
> .SH CONFORMING TO
> These routines are glibc-specific.
> The NeXT system has similar routines:
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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 [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.