All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't thread-safe
@ 2015-03-23  4:24 Zeng Linggang
       [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Zeng Linggang @ 2015-03-23  4:24 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/getutent.3 | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/man3/getutent.3 b/man3/getutent.3
index 4ff5581..2160969 100644
--- a/man3/getutent.3
+++ b/man3/getutent.3
@@ -155,6 +155,42 @@ functions can also fail for the reasons described in
 /var/run/utmp	database of currently logged-in users
 .br
 /var/log/wtmp	database of past user logins
+.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 getutent ()
+T}	Thread safety	T{
+MT-Unsafe init race:utent
+.br
+race:utentbuf sig:ALRM timer
+T}
+T{
+.BR getutid (),
+.br
+.BR getutline ()
+T}	Thread safety	T{
+MT-Unsafe init race:utent sig:ALRM
+.br
+timer
+T}
+T{
+.BR pututline ()
+T}	Thread safety	MT-Unsafe race:utent sig:ALRM timer
+T{
+.BR setutent (),
+.br
+.BR endutent (),
+.br
+.BR utmpname ()
+T}	Thread safety	MT-Unsafe race:utent
+.TE
+
 .SH CONFORMING TO
 XPG2, SVr4.
 .LP
-- 
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] 14+ messages in thread

* [PATCH] perror.3: ATTRIBUTES: Note function that is thread-safe
       [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-03-23  4:24   ` Zeng Linggang
       [not found]     ` <1427084656-7273-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-23  4:24   ` [PATCH] printf.3: ATTRIBUTES: Note functions those are thread-safe Zeng Linggang
                     ` (5 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Zeng Linggang @ 2015-03-23  4:24 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/perror.3 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/man3/perror.3 b/man3/perror.3
index 20f2209..2d67edc 100644
--- a/man3/perror.3
+++ b/man3/perror.3
@@ -108,6 +108,19 @@ Thus, if a failing call is not immediately followed by a call to
 the value of
 .I errno
 should be saved.
+.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 perror ()
+T}	Thread safety	MT-Safe race:stderr
+.TE
+
 .SH CONFORMING TO
 The function
 .BR perror ()
-- 
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] 14+ messages in thread

* [PATCH] printf.3: ATTRIBUTES: Note functions those are thread-safe
       [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-23  4:24   ` [PATCH] perror.3: ATTRIBUTES: Note function that is thread-safe Zeng Linggang
@ 2015-03-23  4:24   ` Zeng Linggang
       [not found]     ` <1427084656-7273-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-23  4:24   ` [PATCH] scandir.3: " Zeng Linggang
                     ` (4 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Zeng Linggang @ 2015-03-23  4:24 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/printf.3 | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/man3/printf.3 b/man3/printf.3
index bf84f07..8b24f20 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -822,6 +822,29 @@ A \(aq%\(aq is written.
 No argument is converted.
 The complete conversion
 specification is \(aq%%\(aq.
+.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 printf (),
+.BR fprintf (),
+.br
+.BR sprintf (),
+.BR snprintf (),
+.br
+.BR vprintf (),
+.BR vfprintf (),
+.br
+.BR vsprintf (),
+.BR vsnprintf ()
+T}	Thread safety	MT-Safe locale
+.TE
+
 .SH CONFORMING TO
 The
 .BR fprintf (),
-- 
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] 14+ messages in thread

* [PATCH] scandir.3: ATTRIBUTES: Note functions those are thread-safe
       [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-23  4:24   ` [PATCH] perror.3: ATTRIBUTES: Note function that is thread-safe Zeng Linggang
  2015-03-23  4:24   ` [PATCH] printf.3: ATTRIBUTES: Note functions those are thread-safe Zeng Linggang
@ 2015-03-23  4:24   ` Zeng Linggang
       [not found]     ` <1427084656-7273-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-23  4:24   ` [PATCH] scanf.3: " Zeng Linggang
                     ` (3 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Zeng Linggang @ 2015-03-23  4:24 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/scandir.3 | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/man3/scandir.3 b/man3/scandir.3
index 6322c2e..1c6ec1c 100644
--- a/man3/scandir.3
+++ b/man3/scandir.3
@@ -226,6 +226,24 @@ was added to glibc in version 2.1.
 
 .BR scandirat ()
 was added to glibc in version 2.15.
+.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 scandir (),
+.BR scandirat ()
+T}	Thread safety	MT-Safe
+T{
+.BR alphasort (),
+.BR versionsort ()
+T}	Thread safety	MT-Safe locale
+.TE
+
 .SH CONFORMING TO
 .BR alphasort (),
 .BR scandir ():
-- 
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] 14+ messages in thread

* [PATCH] scanf.3: ATTRIBUTES: Note functions those are thread-safe
       [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (2 preceding siblings ...)
  2015-03-23  4:24   ` [PATCH] scandir.3: " Zeng Linggang
@ 2015-03-23  4:24   ` Zeng Linggang
       [not found]     ` <1427084656-7273-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-03-23  4:24   ` [PATCH] wprintf.3: " Zeng Linggang
                     ` (2 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Zeng Linggang @ 2015-03-23  4:24 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/scanf.3 | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/man3/scanf.3 b/man3/scanf.3
index 02455b4..a0e45a1 100644
--- a/man3/scanf.3
+++ b/man3/scanf.3
@@ -574,6 +574,26 @@ Out of memory.
 .B ERANGE
 The result of an integer conversion would exceed the size
 that can be stored in the corresponding integer type.
+.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 scanf (),
+.BR fscanf (),
+.br
+.BR sscanf (),
+.BR vscanf (),
+.br
+.BR vsscanf (),
+.BR vfscanf ()
+T}	Thread safety	MT-Safe locale
+.TE
+
 .SH CONFORMING TO
 The functions
 .BR fscanf (),
-- 
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] 14+ messages in thread

* [PATCH] wprintf.3: ATTRIBUTES: Note functions those are thread-safe
       [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (3 preceding siblings ...)
  2015-03-23  4:24   ` [PATCH] scanf.3: " Zeng Linggang
@ 2015-03-23  4:24   ` Zeng Linggang
       [not found]     ` <1427084656-7273-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-04-04  7:49   ` [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't thread-safe Michael Kerrisk (man-pages)
  2015-04-08  3:05   ` Zeng Linggang
  6 siblings, 1 reply; 14+ messages in thread
From: Zeng Linggang @ 2015-03-23  4:24 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/wprintf.3 | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/man3/wprintf.3 b/man3/wprintf.3
index 57d1cf4..1d3ea83 100644
--- a/man3/wprintf.3
+++ b/man3/wprintf.3
@@ -208,6 +208,26 @@ case of the functions
 and
 .BR vswprintf ().
 They return \-1 when an error occurs.
+.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 wprintf (),
+.BR fwprintf (),
+.br
+.BR swprintf (),
+.BR vwprintf (),
+.br
+.BR vfwprintf (),
+.BR vswprintf ()
+T}	Thread safety	MT-Safe locale
+.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] 14+ messages in thread

* Re: [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't thread-safe
       [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (4 preceding siblings ...)
  2015-03-23  4:24   ` [PATCH] wprintf.3: " Zeng Linggang
@ 2015-04-04  7:49   ` Michael Kerrisk (man-pages)
  2015-04-08  3:05   ` Zeng Linggang
  6 siblings, 0 replies; 14+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  7:49 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

Hello Zeng Lingang,

It looks like you will be some work with Ma Shimiao. Is 
that correct?

On 03/23/2015 04:24 AM, Zeng Linggang wrote:
> The markings match glibc markings.

I've applied your patch, but for other future patches,
please note that there is an English grammar mistake in 
your patch title: "those" should be "that".

Thanks,

Michael



> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/getutent.3 | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/man3/getutent.3 b/man3/getutent.3
> index 4ff5581..2160969 100644
> --- a/man3/getutent.3
> +++ b/man3/getutent.3
> @@ -155,6 +155,42 @@ functions can also fail for the reasons described in
>  /var/run/utmp	database of currently logged-in users
>  .br
>  /var/log/wtmp	database of past user logins
> +.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 getutent ()
> +T}	Thread safety	T{
> +MT-Unsafe init race:utent
> +.br
> +race:utentbuf sig:ALRM timer
> +T}
> +T{
> +.BR getutid (),
> +.br
> +.BR getutline ()
> +T}	Thread safety	T{
> +MT-Unsafe init race:utent sig:ALRM
> +.br
> +timer
> +T}
> +T{
> +.BR pututline ()
> +T}	Thread safety	MT-Unsafe race:utent sig:ALRM timer
> +T{
> +.BR setutent (),
> +.br
> +.BR endutent (),
> +.br
> +.BR utmpname ()
> +T}	Thread safety	MT-Unsafe race:utent
> +.TE
> +
>  .SH CONFORMING TO
>  XPG2, SVr4.
>  .LP
> 


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

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

On 03/23/2015 04:24 AM, Zeng Linggang wrote:
> The marking matches glibc marking.

Hello Zend Linggang,

Patch applied. Thank you.

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/perror.3 | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/man3/perror.3 b/man3/perror.3
> index 20f2209..2d67edc 100644
> --- a/man3/perror.3
> +++ b/man3/perror.3
> @@ -108,6 +108,19 @@ Thus, if a failing call is not immediately followed by a call to
>  the value of
>  .I errno
>  should be saved.
> +.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 perror ()
> +T}	Thread safety	MT-Safe race:stderr
> +.TE
> +
>  .SH CONFORMING TO
>  The function
>  .BR perror ()
> 


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

* Re: [PATCH] printf.3: ATTRIBUTES: Note functions those are thread-safe
       [not found]     ` <1427084656-7273-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-04-04  7:51       ` Michael Kerrisk (man-pages)
  2015-04-04  7:54       ` Bug#621057: " Michael Kerrisk (man-pages)
  1 sibling, 0 replies; 14+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  7:51 UTC (permalink / raw)
  To: Zeng Linggang
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/23/2015 04:24 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/printf.3 | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
> 
> diff --git a/man3/printf.3 b/man3/printf.3
> index bf84f07..8b24f20 100644
> --- a/man3/printf.3
> +++ b/man3/printf.3
> @@ -822,6 +822,29 @@ A \(aq%\(aq is written.
>  No argument is converted.
>  The complete conversion
>  specification is \(aq%%\(aq.
> +.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 printf (),
> +.BR fprintf (),
> +.br
> +.BR sprintf (),
> +.BR snprintf (),
> +.br
> +.BR vprintf (),
> +.BR vfprintf (),
> +.br
> +.BR vsprintf (),
> +.BR vsnprintf ()
> +T}	Thread safety	MT-Safe locale
> +.TE
> +
>  .SH CONFORMING TO
>  The
>  .BR fprintf (),
> 


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

* Re: Bug#621057: printf.3: ATTRIBUTES: Note functions those are thread-safe
       [not found]     ` <1427084656-7273-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  2015-04-04  7:51       ` Michael Kerrisk (man-pages)
@ 2015-04-04  7:54       ` Michael Kerrisk (man-pages)
  1 sibling, 0 replies; 14+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-04  7:54 UTC (permalink / raw)
  To: Zeng Linggang, 621057-61a8vm9lEZVf4u+23C9RwQ
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/23/2015 04:24 AM, Zeng Linggang wrote:
> The markings match glibc markings.

Hello Zeng Linggang,

This patch seems to have been sent twice...

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/printf.3 | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
> 
> diff --git a/man3/printf.3 b/man3/printf.3
> index bf84f07..8b24f20 100644
> --- a/man3/printf.3
> +++ b/man3/printf.3
> @@ -822,6 +822,29 @@ A \(aq%\(aq is written.
>  No argument is converted.
>  The complete conversion
>  specification is \(aq%%\(aq.
> +.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 printf (),
> +.BR fprintf (),
> +.br
> +.BR sprintf (),
> +.BR snprintf (),
> +.br
> +.BR vprintf (),
> +.BR vfprintf (),
> +.br
> +.BR vsprintf (),
> +.BR vsnprintf ()
> +T}	Thread safety	MT-Safe locale
> +.TE
> +
>  .SH CONFORMING TO
>  The
>  .BR fprintf (),
> 


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

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

On 03/23/2015 04:24 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/scandir.3 | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/man3/scandir.3 b/man3/scandir.3
> index 6322c2e..1c6ec1c 100644
> --- a/man3/scandir.3
> +++ b/man3/scandir.3
> @@ -226,6 +226,24 @@ was added to glibc in version 2.1.
>  
>  .BR scandirat ()
>  was added to glibc in version 2.15.
> +.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 scandir (),
> +.BR scandirat ()
> +T}	Thread safety	MT-Safe
> +T{
> +.BR alphasort (),
> +.BR versionsort ()
> +T}	Thread safety	MT-Safe locale
> +.TE
> +
>  .SH CONFORMING TO
>  .BR alphasort (),
>  .BR scandir ():
> 


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

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

On 03/23/2015 04:24 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/scanf.3 | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/man3/scanf.3 b/man3/scanf.3
> index 02455b4..a0e45a1 100644
> --- a/man3/scanf.3
> +++ b/man3/scanf.3
> @@ -574,6 +574,26 @@ Out of memory.
>  .B ERANGE
>  The result of an integer conversion would exceed the size
>  that can be stored in the corresponding integer type.
> +.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 scanf (),
> +.BR fscanf (),
> +.br
> +.BR sscanf (),
> +.BR vscanf (),
> +.br
> +.BR vsscanf (),
> +.BR vfscanf ()
> +T}	Thread safety	MT-Safe locale
> +.TE
> +
>  .SH CONFORMING TO
>  The functions
>  .BR fscanf (),
> 


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

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

On 03/23/2015 04:24 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/wprintf.3 | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/man3/wprintf.3 b/man3/wprintf.3
> index 57d1cf4..1d3ea83 100644
> --- a/man3/wprintf.3
> +++ b/man3/wprintf.3
> @@ -208,6 +208,26 @@ case of the functions
>  and
>  .BR vswprintf ().
>  They return \-1 when an error occurs.
> +.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 wprintf (),
> +.BR fwprintf (),
> +.br
> +.BR swprintf (),
> +.BR vwprintf (),
> +.br
> +.BR vfwprintf (),
> +.BR vswprintf ()
> +T}	Thread safety	MT-Safe locale
> +.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] 14+ messages in thread

* Re: [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't thread-safe
       [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
                     ` (5 preceding siblings ...)
  2015-04-04  7:49   ` [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't thread-safe Michael Kerrisk (man-pages)
@ 2015-04-08  3:05   ` Zeng Linggang
  6 siblings, 0 replies; 14+ 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 Mon, 2015-03-23 at 12:24 +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/getutent.3 | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/man3/getutent.3 b/man3/getutent.3
> index 4ff5581..2160969 100644
> --- a/man3/getutent.3
> +++ b/man3/getutent.3
> @@ -155,6 +155,42 @@ functions can also fail for the reasons described in
>  /var/run/utmp	database of currently logged-in users
>  .br
>  /var/log/wtmp	database of past user logins
> +.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 getutent ()
> +T}	Thread safety	T{
> +MT-Unsafe init race:utent
> +.br
> +race:utentbuf sig:ALRM timer
> +T}
> +T{
> +.BR getutid (),
> +.br
> +.BR getutline ()
> +T}	Thread safety	T{
> +MT-Unsafe init race:utent sig:ALRM
> +.br
> +timer
> +T}
> +T{
> +.BR pututline ()
> +T}	Thread safety	MT-Unsafe race:utent sig:ALRM timer
> +T{
> +.BR setutent (),
> +.br
> +.BR endutent (),
> +.br
> +.BR utmpname ()
> +T}	Thread safety	MT-Unsafe race:utent
> +.TE
> +
>  .SH CONFORMING TO
>  XPG2, SVr4.
>  .LP


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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23  4:24 [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't thread-safe Zeng Linggang
     [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-03-23  4:24   ` [PATCH] perror.3: ATTRIBUTES: Note function that is thread-safe Zeng Linggang
     [not found]     ` <1427084656-7273-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:49       ` Michael Kerrisk (man-pages)
2015-03-23  4:24   ` [PATCH] printf.3: ATTRIBUTES: Note functions those are thread-safe Zeng Linggang
     [not found]     ` <1427084656-7273-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:51       ` Michael Kerrisk (man-pages)
2015-04-04  7:54       ` Bug#621057: " Michael Kerrisk (man-pages)
2015-03-23  4:24   ` [PATCH] scandir.3: " Zeng Linggang
     [not found]     ` <1427084656-7273-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:55       ` Michael Kerrisk (man-pages)
2015-03-23  4:24   ` [PATCH] scanf.3: " Zeng Linggang
     [not found]     ` <1427084656-7273-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:58       ` Michael Kerrisk (man-pages)
2015-03-23  4:24   ` [PATCH] wprintf.3: " Zeng Linggang
     [not found]     ` <1427084656-7273-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:58       ` Michael Kerrisk (man-pages)
2015-04-04  7:49   ` [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't 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.