From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: [PATCH] cos.3: ATTRIBUTES: Note functions that are thread-safe Date: Sat, 26 Oct 2013 11:24:22 +1300 Message-ID: <526AEF96.8020307@gmail.com> References: <1381734657-24334-1-git-send-email-penght@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1381734657-24334-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Peng Haitao Cc: carlos-v2tUB8YBRSi3e3T8WW9gsA@public.gmane.org, aoliva-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org On 14.10.2013 20:10, Peng Haitao wrote: > The functions cos(), cosf() and cosl() are thread safe. Applied. Thanks, Michael > Signed-off-by: Peng Haitao > --- > man3/cos.3 | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/man3/cos.3 b/man3/cos.3 > index c68c204..6e7fb76 100644 > --- a/man3/cos.3 > +++ b/man3/cos.3 > @@ -31,7 +31,7 @@ > .\" Modified 1993-07-24 by Rik Faith (faith-+5Oa3zvhR2o3uPMLIKxrzw@public.gmane.org) > .\" Modified 2002-07-27 by Walter Harms > .\" (walter.harms-jNDFPZUTrfTUvfpBxBsQfasoZZ7OtMbqG9Ur7JDdleE@public.gmane.org) > -.TH COS 3 2010-09-11 "" "Linux Programmer's Manual" > +.TH COS 3 2013-10-14 "" "Linux Programmer's Manual" > .SH NAME > cos, cosf, cosl \- cosine function > .SH SYNOPSIS > @@ -101,6 +101,14 @@ is set to > An invalid floating-point exception > .RB ( FE_INVALID ) > is raised. > +.SH ATTRIBUTES > +.SS Multithreading (see pthreads(7)) > +The > +.BR cos (), > +.BR cosf (), > +and > +.BR cosl () > +functions are thread-safe. > .SH CONFORMING TO > C99, POSIX.1-2001. > The variant returning > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ My next Linux/UNIX system programming course: -- 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