From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Haitao Subject: [PATCH] mbtowc.3: ATTRIBUTES: Note function that is not thread-safe Date: Wed, 18 Jun 2014 14:36:00 +0800 Message-ID: <1403073360-18687-1-git-send-email-penght@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: carlos-v2tUB8YBRSi3e3T8WW9gsA@public.gmane.org, qianl.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org The function mbtowc() is not thread safe. Signed-off-by: Peng Haitao --- man3/mbtowc.3 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/man3/mbtowc.3 b/man3/mbtowc.3 index 3f791d2..3e862e2 100644 --- a/man3/mbtowc.3 +++ b/man3/mbtowc.3 @@ -110,6 +110,18 @@ is NULL, the function returns nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless. +.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 mbtowc () +T} Thread safety MT-Unsafe +.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