From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: [PATCH] nextafter.3: ATTRIBUTES: Note functions that are thread-safe Date: Mon, 02 Sep 2013 07:46:26 +0200 Message-ID: <52242632.60409@gmail.com> References: <1378092058-3167-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: <1378092058-3167-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Peng Haitao 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 List-Id: linux-man@vger.kernel.org On 09/02/13 05:20, Peng Haitao wrote: > The functions nextafter(), nextafterf(), nextafterl(), > nexttoward(), nexttowardf() and nexttowardl() are thread safe. Applied. Thanks. Cheers, Michael > Signed-off-by: Peng Haitao > --- > man3/nextafter.3 | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/man3/nextafter.3 b/man3/nextafter.3 > index 7619cc4..69289d8 100644 > --- a/man3/nextafter.3 > +++ b/man3/nextafter.3 > @@ -8,7 +8,7 @@ > .\" > .\" Based on glibc infopages > .\" > -.TH NEXTAFTER 3 2010-09-20 "GNU" "Linux Programmer's Manual" > +.TH NEXTAFTER 3 2013-09-02 "GNU" "Linux Programmer's Manual" > .SH NAME > nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl \- > floating-point number manipulation > @@ -170,6 +170,17 @@ These functions do not set > .IR errno . > .\" FIXME . Is it intentional that these functions do not set errno? > .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6799 > +.SH ATTRIBUTES > +.SS Multithreading (see pthreads(7)) > +The > +.BR nextafter (), > +.BR nextafterf (), > +.BR nextafterl (), > +.BR nexttoward (), > +.BR nexttowardf (), > +and > +.BR nexttowardl () > +functions are thread-safe. > .SH CONFORMING TO > C99, POSIX.1-2001. > This function is defined in IEC 559 (and the appendix with > -- 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