All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe
@ 2015-03-25  8:14 Zeng Linggang
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 17+ messages in thread
From: Zeng Linggang @ 2015-03-25  8:14 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The markings match glibc markings.

Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/asprintf.3 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/man3/asprintf.3 b/man3/asprintf.3
index f8f9a9b..981126c 100644
--- a/man3/asprintf.3
+++ b/man3/asprintf.3
@@ -58,6 +58,20 @@ If memory allocation wasn't possible, or some other error occurs,
 these functions will return \-1, and the contents of
 .I strp
 is undefined.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw23 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR asprintf (),
+.BR vasprintf ()
+T}	Thread safety	MT-Safe locale
+.TE
+
 .SH CONFORMING TO
 These functions are GNU extensions, not in C or POSIX.
 They are also available under *BSD.
-- 
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] 17+ messages in thread

* [PATCH] get_nprocs_conf.3: ATTRIBUTES: Note functions those are thread-safe
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-03-25  8:14   ` Zeng Linggang
       [not found]     ` <1427271273-8602-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-25  8:14   ` [PATCH] mbsnrtowcs.3: ATTRIBUTES: Note function that is thread safe with exceptions Zeng Linggang
                     ` (7 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Zeng Linggang @ 2015-03-25  8:14 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The markings match glibc markings.

Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/get_nprocs_conf.3 | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/man3/get_nprocs_conf.3 b/man3/get_nprocs_conf.3
index 8faf84f..157ac01 100644
--- a/man3/get_nprocs_conf.3
+++ b/man3/get_nprocs_conf.3
@@ -45,6 +45,21 @@ This may be less than the number returned by
 because processors may be offline (e.g., on hotpluggable systems).
 .SH RETURN VALUE
 As given in DESCRIPTION.
+.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 get_nprocs (),
+.br
+.BR get_nprocs_conf ()
+T}	Thread safety	MT-Safe
+.TE
+
 .SH CONFORMING TO
 These functions are GNU extensions.
 .SH NOTES
-- 
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] 17+ messages in thread

* [PATCH] mbsnrtowcs.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-25  8:14   ` [PATCH] get_nprocs_conf.3: " Zeng Linggang
@ 2015-03-25  8:14   ` Zeng Linggang
       [not found]     ` <1427271273-8602-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-25  8:14   ` [PATCH] mbsrtowcs.3: " Zeng Linggang
                     ` (6 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Zeng Linggang @ 2015-03-25  8:14 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The marking matches glibc marking.

Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/mbsnrtowcs.3 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/man3/mbsnrtowcs.3 b/man3/mbsnrtowcs.3
index 305ad4d..a50b560 100644
--- a/man3/mbsnrtowcs.3
+++ b/man3/mbsnrtowcs.3
@@ -160,6 +160,19 @@ is returned, and
 .I errno
 set to
 .BR EILSEQ .
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lbw29
+l l l.
+Interface	Attribute	Value
+T{
+.BR mbsnrtowcs ()
+T}	Thread safety	MT-Unsafe race:mbsnrtowcs/!ps
+.TE
+
 .SH CONFORMING TO
 POSIX.1-2008.
 .SH NOTES
-- 
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] 17+ messages in thread

* [PATCH] mbsrtowcs.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-25  8:14   ` [PATCH] get_nprocs_conf.3: " Zeng Linggang
  2015-03-25  8:14   ` [PATCH] mbsnrtowcs.3: ATTRIBUTES: Note function that is thread safe with exceptions Zeng Linggang
@ 2015-03-25  8:14   ` Zeng Linggang
       [not found]     ` <1427271273-8602-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-25  8:14   ` [PATCH] unlocked_stdio.3: ATTRIBUTES: Note functions thoes aren't thread-safe Zeng Linggang
                     ` (5 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Zeng Linggang @ 2015-03-25  8:14 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The marking matches glibc marking.

Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/mbsrtowcs.3 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/man3/mbsrtowcs.3 b/man3/mbsrtowcs.3
index 4df9986..6391b13 100644
--- a/man3/mbsrtowcs.3
+++ b/man3/mbsrtowcs.3
@@ -123,6 +123,19 @@ is returned, and
 .I errno
 set to
 .BR EILSEQ .
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lbw28
+l l l.
+Interface	Attribute	Value
+T{
+.BR mbsrtowcs ()
+T}	Thread safety	MT-Unsafe race:mbsrtowcs/!ps
+.TE
+
 .SH CONFORMING TO
 C99.
 .SH NOTES
-- 
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] 17+ messages in thread

* [PATCH] unlocked_stdio.3: ATTRIBUTES: Note functions thoes aren't thread-safe
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (2 preceding siblings ...)
  2015-03-25  8:14   ` [PATCH] mbsrtowcs.3: " Zeng Linggang
@ 2015-03-25  8:14   ` Zeng Linggang
       [not found]     ` <1427271273-8602-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-25  8:14   ` [PATCH] wcrtomb.3: ATTRIBUTES: Note function that is thread safe with exceptions Zeng Linggang
                     ` (4 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Zeng Linggang @ 2015-03-25  8:14 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The markings match glibc markings.

Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/unlocked_stdio.3 | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/man3/unlocked_stdio.3 b/man3/unlocked_stdio.3
index d5aada7..24bd179 100644
--- a/man3/unlocked_stdio.3
+++ b/man3/unlocked_stdio.3
@@ -110,6 +110,47 @@ without the "_unlocked" suffix, except that they do not use locking
 of locks set by others) and hence are thread-unsafe.
 See
 .BR flockfile (3).
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw20 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR getc_unlocked (),
+.BR putc_unlocked (),
+.BR clearerr_unlocked (),
+.BR fflush_unlocked (),
+.BR fgetc_unlocked (),
+.BR fputc_unlocked (),
+.BR fread_unlocked (),
+.BR fwrite_unlocked (),
+.BR fgets_unlocked (),
+.BR fputs_unlocked (),
+.BR getwc_unlocked (),
+.BR fgetwc_unlocked (),
+.BR fputwc_unlocked (),
+.BR putwc_unlocked (),
+.BR fgetws_unlocked (),
+.BR fputws_unlocked ()
+T}	Thread safety	MT-Safe race:stream
+T{
+.BR getchar_unlocked (),
+.BR getwchar_unlocked ()
+T}	Thread safety	MT-Unsafe race:stdin
+T{
+.BR putchar_unlocked (),
+.BR putwchar_unlocked ()
+T}	Thread safety	MT-Unsafe race:stdout
+T{
+.BR feof_unlocked (),
+.BR ferror_unlocked (),
+.BR fileno_unlocked ()
+T}	Thread safety	MT-Safe
+.TE
+
 .SH CONFORMING TO
 The four functions
 .BR getc_unlocked (),
-- 
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] 17+ messages in thread

* [PATCH] wcrtomb.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (3 preceding siblings ...)
  2015-03-25  8:14   ` [PATCH] unlocked_stdio.3: ATTRIBUTES: Note functions thoes aren't thread-safe Zeng Linggang
@ 2015-03-25  8:14   ` Zeng Linggang
       [not found]     ` <1427271273-8602-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-25  8:14   ` [PATCH] wcsnrtombs.3: " Zeng Linggang
                     ` (3 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Zeng Linggang @ 2015-03-25  8:14 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The marking matches glibc marking.

Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/wcrtomb.3 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/man3/wcrtomb.3 b/man3/wcrtomb.3
index 059e724..98bbba5 100644
--- a/man3/wcrtomb.3
+++ b/man3/wcrtomb.3
@@ -106,6 +106,19 @@ is returned, and
 .I errno
 set to
 .BR EILSEQ .
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lbw26
+l l l.
+Interface	Attribute	Value
+T{
+.BR wcrtomb ()
+T}	Thread safety	MT-Unsafe race:wcrtomb/!ps
+.TE
+
 .SH CONFORMING TO
 C99.
 .SH NOTES
-- 
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] 17+ messages in thread

* [PATCH] wcsnrtombs.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (4 preceding siblings ...)
  2015-03-25  8:14   ` [PATCH] wcrtomb.3: ATTRIBUTES: Note function that is thread safe with exceptions Zeng Linggang
@ 2015-03-25  8:14   ` Zeng Linggang
       [not found]     ` <1427271273-8602-7-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-25  8:14   ` [PATCH] wcsrtombs.3: " Zeng Linggang
                     ` (2 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Zeng Linggang @ 2015-03-25  8:14 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The marking matches glibc marking.

Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/wcsnrtombs.3 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/man3/wcsnrtombs.3 b/man3/wcsnrtombs.3
index a02c603..ab69767 100644
--- a/man3/wcsnrtombs.3
+++ b/man3/wcsnrtombs.3
@@ -157,6 +157,19 @@ is returned, and
 .I errno
 set to
 .BR EILSEQ .
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lbw29
+l l l.
+Interface	Attribute	Value
+T{
+.BR wcsnrtombs ()
+T}	Thread safety	MT-Unsafe race:wcsnrtombs/!ps
+.TE
+
 .SH CONFORMING TO
 POSIX.1-2008.
 .SH NOTES
-- 
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] 17+ messages in thread

* [PATCH] wcsrtombs.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (5 preceding siblings ...)
  2015-03-25  8:14   ` [PATCH] wcsnrtombs.3: " Zeng Linggang
@ 2015-03-25  8:14   ` Zeng Linggang
       [not found]     ` <1427271273-8602-8-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-04-04  7:59   ` [PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe Michael Kerrisk (man-pages)
  2015-04-08  3:05   ` Zeng Linggang
  8 siblings, 1 reply; 17+ messages in thread
From: Zeng Linggang @ 2015-03-25  8:14 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The marking matches glibc marking.

Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/wcsrtombs.3 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/man3/wcsrtombs.3 b/man3/wcsrtombs.3
index 144ef47..8c01701 100644
--- a/man3/wcsrtombs.3
+++ b/man3/wcsrtombs.3
@@ -123,6 +123,19 @@ is returned, and
 .I errno
 set to
 .BR EILSEQ .
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lbw28
+l l l.
+Interface	Attribute	Value
+T{
+.BR wcsrtombs ()
+T}	Thread safety	MT-Unsafe race:wcsrtombs/!ps
+.TE
+
 .SH CONFORMING TO
 C99.
 .SH NOTES
-- 
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] 17+ messages in thread

* Re: [PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (6 preceding siblings ...)
  2015-03-25  8:14   ` [PATCH] wcsrtombs.3: " Zeng Linggang
@ 2015-04-04  7:59   ` Michael Kerrisk (man-pages)
  2015-04-08  3:05   ` Zeng Linggang
  8 siblings, 0 replies; 17+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  7:59 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/25/2015 08:14 AM, Zeng Linggang wrote:
> The markings match glibc markings.

Hello Zeng Linggang,

Thanks. Patch applied.

Cheers,

Michael


> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/asprintf.3 | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/man3/asprintf.3 b/man3/asprintf.3
> index f8f9a9b..981126c 100644
> --- a/man3/asprintf.3
> +++ b/man3/asprintf.3
> @@ -58,6 +58,20 @@ If memory allocation wasn't possible, or some other error occurs,
>  these functions will return \-1, and the contents of
>  .I strp
>  is undefined.
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw23 lb lb
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR asprintf (),
> +.BR vasprintf ()
> +T}	Thread safety	MT-Safe locale
> +.TE
> +
>  .SH CONFORMING TO
>  These functions are GNU extensions, not in C or POSIX.
>  They are also available under *BSD.
> 


-- 
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] 17+ messages in thread

* Re: [PATCH] get_nprocs_conf.3: ATTRIBUTES: Note functions those are thread-safe
       [not found]     ` <1427271273-8602-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-04-04  7:59       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  7:59 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/25/2015 08:14 AM, Zeng Linggang wrote:
> The markings match glibc markings.

Hello Zeng Linggang,

Thanks. Patch applied.

Cheers,

Michael



> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/get_nprocs_conf.3 | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/man3/get_nprocs_conf.3 b/man3/get_nprocs_conf.3
> index 8faf84f..157ac01 100644
> --- a/man3/get_nprocs_conf.3
> +++ b/man3/get_nprocs_conf.3
> @@ -45,6 +45,21 @@ This may be less than the number returned by
>  because processors may be offline (e.g., on hotpluggable systems).
>  .SH RETURN VALUE
>  As given in DESCRIPTION.
> +.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 get_nprocs (),
> +.br
> +.BR get_nprocs_conf ()
> +T}	Thread safety	MT-Safe
> +.TE
> +
>  .SH CONFORMING TO
>  These functions are GNU extensions.
>  .SH NOTES
> 


-- 
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] 17+ messages in thread

* Re: [PATCH] mbsnrtowcs.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found]     ` <1427271273-8602-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-04-04  8:00       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  8:00 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/25/2015 08:14 AM, Zeng Linggang wrote:
> The marking matches glibc marking.

Hello Zeng Linggang,

Thanks. Patch applied.

Cheers,

Michael


> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/mbsnrtowcs.3 | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/man3/mbsnrtowcs.3 b/man3/mbsnrtowcs.3
> index 305ad4d..a50b560 100644
> --- a/man3/mbsnrtowcs.3
> +++ b/man3/mbsnrtowcs.3
> @@ -160,6 +160,19 @@ is returned, and
>  .I errno
>  set to
>  .BR EILSEQ .
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lb lb lbw29
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR mbsnrtowcs ()
> +T}	Thread safety	MT-Unsafe race:mbsnrtowcs/!ps
> +.TE
> +
>  .SH CONFORMING TO
>  POSIX.1-2008.
>  .SH NOTES
> 


-- 
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] 17+ messages in thread

* Re: [PATCH] mbsrtowcs.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found]     ` <1427271273-8602-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-04-04  8:00       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  8:00 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/25/2015 08:14 AM, Zeng Linggang wrote:
> The marking matches glibc marking.

Hello Zeng Linggang,

Thanks. Patch applied.

Cheers,

Michael


> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/mbsrtowcs.3 | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/man3/mbsrtowcs.3 b/man3/mbsrtowcs.3
> index 4df9986..6391b13 100644
> --- a/man3/mbsrtowcs.3
> +++ b/man3/mbsrtowcs.3
> @@ -123,6 +123,19 @@ is returned, and
>  .I errno
>  set to
>  .BR EILSEQ .
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lb lb lbw28
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR mbsrtowcs ()
> +T}	Thread safety	MT-Unsafe race:mbsrtowcs/!ps
> +.TE
> +
>  .SH CONFORMING TO
>  C99.
>  .SH NOTES
> 


-- 
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] 17+ messages in thread

* Re: [PATCH] unlocked_stdio.3: ATTRIBUTES: Note functions thoes aren't thread-safe
       [not found]     ` <1427271273-8602-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-04-04  8:01       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  8:01 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/25/2015 08:14 AM, Zeng Linggang wrote:
> The markings match glibc markings.


Hello Zeng Linggang,

Thanks. Patch applied.

Cheers,

Michael



> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/unlocked_stdio.3 | 41 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)
> 
> diff --git a/man3/unlocked_stdio.3 b/man3/unlocked_stdio.3
> index d5aada7..24bd179 100644
> --- a/man3/unlocked_stdio.3
> +++ b/man3/unlocked_stdio.3
> @@ -110,6 +110,47 @@ without the "_unlocked" suffix, except that they do not use locking
>  of locks set by others) and hence are thread-unsafe.
>  See
>  .BR flockfile (3).
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw20 lb lb
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR getc_unlocked (),
> +.BR putc_unlocked (),
> +.BR clearerr_unlocked (),
> +.BR fflush_unlocked (),
> +.BR fgetc_unlocked (),
> +.BR fputc_unlocked (),
> +.BR fread_unlocked (),
> +.BR fwrite_unlocked (),
> +.BR fgets_unlocked (),
> +.BR fputs_unlocked (),
> +.BR getwc_unlocked (),
> +.BR fgetwc_unlocked (),
> +.BR fputwc_unlocked (),
> +.BR putwc_unlocked (),
> +.BR fgetws_unlocked (),
> +.BR fputws_unlocked ()
> +T}	Thread safety	MT-Safe race:stream
> +T{
> +.BR getchar_unlocked (),
> +.BR getwchar_unlocked ()
> +T}	Thread safety	MT-Unsafe race:stdin
> +T{
> +.BR putchar_unlocked (),
> +.BR putwchar_unlocked ()
> +T}	Thread safety	MT-Unsafe race:stdout
> +T{
> +.BR feof_unlocked (),
> +.BR ferror_unlocked (),
> +.BR fileno_unlocked ()
> +T}	Thread safety	MT-Safe
> +.TE
> +
>  .SH CONFORMING TO
>  The four functions
>  .BR getc_unlocked (),
> 


-- 
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] 17+ messages in thread

* Re: [PATCH] wcrtomb.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found]     ` <1427271273-8602-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-04-04  8:02       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  8:02 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/25/2015 08:14 AM, Zeng Linggang wrote:
> The marking matches glibc marking.

Hello Zeng Linggang,

Thanks. Patch applied.

Cheers,

Michael


> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/wcrtomb.3 | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/man3/wcrtomb.3 b/man3/wcrtomb.3
> index 059e724..98bbba5 100644
> --- a/man3/wcrtomb.3
> +++ b/man3/wcrtomb.3
> @@ -106,6 +106,19 @@ is returned, and
>  .I errno
>  set to
>  .BR EILSEQ .
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lb lb lbw26
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR wcrtomb ()
> +T}	Thread safety	MT-Unsafe race:wcrtomb/!ps
> +.TE
> +
>  .SH CONFORMING TO
>  C99.
>  .SH NOTES
> 


-- 
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] 17+ messages in thread

* Re: [PATCH] wcsnrtombs.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found]     ` <1427271273-8602-7-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-04-04  8:06       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  8:06 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/25/2015 08:14 AM, Zeng Linggang wrote:
> The marking matches glibc marking.


Hello Zeng Linggang,

Thanks. Patch applied.

Cheers,

Michael



> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/wcsnrtombs.3 | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/man3/wcsnrtombs.3 b/man3/wcsnrtombs.3
> index a02c603..ab69767 100644
> --- a/man3/wcsnrtombs.3
> +++ b/man3/wcsnrtombs.3
> @@ -157,6 +157,19 @@ is returned, and
>  .I errno
>  set to
>  .BR EILSEQ .
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lb lb lbw29
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR wcsnrtombs ()
> +T}	Thread safety	MT-Unsafe race:wcsnrtombs/!ps
> +.TE
> +
>  .SH CONFORMING TO
>  POSIX.1-2008.
>  .SH NOTES
> 


-- 
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] 17+ messages in thread

* Re: [PATCH] wcsrtombs.3: ATTRIBUTES: Note function that is thread safe with exceptions
       [not found]     ` <1427271273-8602-8-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-04-04  8:07       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  8:07 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/25/2015 08:14 AM, Zeng Linggang wrote:
> The marking matches glibc marking.

Hello Zeng Linggang,

Thanks. Patch applied.

Cheers,

Michael



> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/wcsrtombs.3 | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/man3/wcsrtombs.3 b/man3/wcsrtombs.3
> index 144ef47..8c01701 100644
> --- a/man3/wcsrtombs.3
> +++ b/man3/wcsrtombs.3
> @@ -123,6 +123,19 @@ is returned, and
>  .I errno
>  set to
>  .BR EILSEQ .
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lb lb lbw28
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR wcsrtombs ()
> +T}	Thread safety	MT-Unsafe race:wcsrtombs/!ps
> +.TE
> +
>  .SH CONFORMING TO
>  C99.
>  .SH NOTES
> 


-- 
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] 17+ messages in thread

* Re: [PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe
       [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (7 preceding siblings ...)
  2015-04-04  7:59   ` [PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe Michael Kerrisk (man-pages)
@ 2015-04-08  3:05   ` Zeng Linggang
  8 siblings, 0 replies; 17+ messages in thread
From: Zeng Linggang @ 2015-04-08  3:05 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hi,

Sorry for the bother. Please *ignore* these patches. I have sent new
correct versions just a moment ago.

Best regards,
Zeng

On Wed, 2015-03-25 at 16:14 +0800, Zeng Linggang wrote:
> The markings match glibc markings.
> 
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/asprintf.3 | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/man3/asprintf.3 b/man3/asprintf.3
> index f8f9a9b..981126c 100644
> --- a/man3/asprintf.3
> +++ b/man3/asprintf.3
> @@ -58,6 +58,20 @@ If memory allocation wasn't possible, or some other error occurs,
>  these functions will return \-1, and the contents of
>  .I strp
>  is undefined.
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw23 lb lb
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR asprintf (),
> +.BR vasprintf ()
> +T}	Thread safety	MT-Safe locale
> +.TE
> +
>  .SH CONFORMING TO
>  These functions are GNU extensions, not in C or POSIX.
>  They are also available under *BSD.


--
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] 17+ messages in thread

end of thread, other threads:[~2015-04-08  3:05 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25  8:14 [PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe Zeng Linggang
     [not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-03-25  8:14   ` [PATCH] get_nprocs_conf.3: " Zeng Linggang
     [not found]     ` <1427271273-8602-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:59       ` Michael Kerrisk (man-pages)
2015-03-25  8:14   ` [PATCH] mbsnrtowcs.3: ATTRIBUTES: Note function that is thread safe with exceptions Zeng Linggang
     [not found]     ` <1427271273-8602-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  8:00       ` Michael Kerrisk (man-pages)
2015-03-25  8:14   ` [PATCH] mbsrtowcs.3: " Zeng Linggang
     [not found]     ` <1427271273-8602-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  8:00       ` Michael Kerrisk (man-pages)
2015-03-25  8:14   ` [PATCH] unlocked_stdio.3: ATTRIBUTES: Note functions thoes aren't thread-safe Zeng Linggang
     [not found]     ` <1427271273-8602-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  8:01       ` Michael Kerrisk (man-pages)
2015-03-25  8:14   ` [PATCH] wcrtomb.3: ATTRIBUTES: Note function that is thread safe with exceptions Zeng Linggang
     [not found]     ` <1427271273-8602-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  8:02       ` Michael Kerrisk (man-pages)
2015-03-25  8:14   ` [PATCH] wcsnrtombs.3: " Zeng Linggang
     [not found]     ` <1427271273-8602-7-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  8:06       ` Michael Kerrisk (man-pages)
2015-03-25  8:14   ` [PATCH] wcsrtombs.3: " Zeng Linggang
     [not found]     ` <1427271273-8602-8-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  8:07       ` Michael Kerrisk (man-pages)
2015-04-04  7:59   ` [PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe Michael Kerrisk (man-pages)
2015-04-08  3:05   ` Zeng Linggang

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.