From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Peng Haitao <penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
carlos-v2tUB8YBRSi3e3T8WW9gsA@public.gmane.org,
aoliva-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] wctomb.3: ATTRIBUTES: Note function that is not thread-safe
Date: Fri, 13 Sep 2013 06:42:23 +0200 [thread overview]
Message-ID: <523297AF.5010301@gmail.com> (raw)
In-Reply-To: <1378710782-22523-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Thanks! Applied.
Cheers,
Michael
On 09.09.2013 09:13, Peng Haitao wrote:
> The function wctomb() is not thread safe.
>
> Signed-off-by: Peng Haitao <penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/wctomb.3 | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/man3/wctomb.3 b/man3/wctomb.3
> index e8684e4..389c59f 100644
> --- a/man3/wctomb.3
> +++ b/man3/wctomb.3
> @@ -13,7 +13,7 @@
> .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
> .\" ISO/IEC 9899:1999
> .\"
> -.TH WCTOMB 3 1999-07-25 "GNU" "Linux Programmer's Manual"
> +.TH WCTOMB 3 2013-09-09 "GNU" "Linux Programmer's Manual"
> .SH NAME
> wctomb \- convert a wide character to a multibyte sequence
> .SH SYNOPSIS
> @@ -81,6 +81,11 @@ is NULL, the
> .BR wctomb ()
> function returns nonzero if the
> encoding has nontrivial shift state, or zero if the encoding is stateless.
> +.SH ATTRIBUTES
> +.SS Multithreading (see pthreads(7))
> +The
> +.BR wctomb ()
> +function is not thread-safe.
> .SH CONFORMING TO
> C99.
> .SH NOTES
> @@ -91,7 +96,6 @@ depends on the
> category of the
> current locale.
> .PP
> -This function is not multithread safe.
> The function
> .BR wcrtomb (3)
> provides
>
--
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
prev parent reply other threads:[~2013-09-13 4:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-09 7:13 [PATCH] wctomb.3: ATTRIBUTES: Note function that is not thread-safe Peng Haitao
[not found] ` <1378710782-22523-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2013-09-13 4:42 ` Michael Kerrisk (man-pages) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=523297AF.5010301@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=aoliva-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=carlos-v2tUB8YBRSi3e3T8WW9gsA@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.