From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: [PATCH] rewinddir.3: ATTRIBUTES: Note function that is thread-safe Date: Mon, 02 Sep 2013 07:47:31 +0200 Message-ID: <52242673.7080604@gmail.com> References: <1378094197-4812-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: <1378094197-4812-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:56, Peng Haitao wrote: > The function rewinddir() is thread safe. Applied. Thanks. Cheers, Michael > Signed-off-by: Peng Haitao > --- > man3/rewinddir.3 | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/man3/rewinddir.3 b/man3/rewinddir.3 > index 2aef5db..0b65603 100644 > --- a/man3/rewinddir.3 > +++ b/man3/rewinddir.3 > @@ -28,7 +28,7 @@ > .\" 386BSD man pages > .\" Modified Sat Jul 24 18:29:11 1993 by Rik Faith (faith-+5Oa3zvhR2o3uPMLIKxrzw@public.gmane.org) > .\" Modified 11 June 1995 by Andries Brouwer (aeb-rh8NL+sEX9E@public.gmane.org) > -.TH REWINDDIR 3 1995-06-11 "" "Linux Programmer's Manual" > +.TH REWINDDIR 3 2013-09-02 "" "Linux Programmer's Manual" > .SH NAME > rewinddir \- reset directory stream > .SH SYNOPSIS > @@ -50,6 +50,11 @@ to the beginning of the directory. > The > .BR rewinddir () > function returns no value. > +.SH ATTRIBUTES > +.SS Multithreading (see pthreads(7)) > +The > +.BR rewinddir () > +function is thread-safe. > .SH CONFORMING TO > SVr4, 4.3BSD, POSIX.1-2001. > .SH SEE ALSO > -- 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