* [PATCH] readdir.3: ATTRIBUTES: Note function that is not thread-safe
@ 2013-05-23 8:14 Peng Haitao
[not found] ` <1369296896-30609-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Peng Haitao @ 2013-05-23 8:14 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: carlos-v2tUB8YBRSi3e3T8WW9gsA, aoliva-H+wXaHxf7aLQT0dZR+AlfA,
linux-man-u79uwXL29TY76Z2rM5mHXA
The function readdir() is not thread safe.
Signed-off-by: Peng Haitao <penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
man3/readdir.3 | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/man3/readdir.3 b/man3/readdir.3
index 140b5e4..ed6c816 100644
--- a/man3/readdir.3
+++ b/man3/readdir.3
@@ -144,6 +144,15 @@ returns 0, and returns NULL in
.TP
.B EBADF
Invalid directory stream descriptor \fIdirp\fP.
+.SH ATTRIBUTES
+.SS Multithreading(see pthreads(7))
+The
+.BR readdir ()
+function is not thread-safe.
+.LP
+The
+.BR readdir_r ()
+function is thread-safe.
.SH CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001.
.SH NOTES
--
1.8.1.4
--
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] readdir.3: ATTRIBUTES: Note function that is not thread-safe
[not found] ` <1369296896-30609-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2013-05-23 8:26 ` Peng Haitao
[not found] ` <519DD2A5.2070606-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Peng Haitao @ 2013-05-23 8:26 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Sorry:(
The patch is redundant, please ignore it.
--
Best Regards,
Peng
On 05/23/2013 04:14 PM, Peng Haitao wrote:
> The function readdir() is not thread safe.
>
> Signed-off-by: Peng Haitao <penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/readdir.3 | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/man3/readdir.3 b/man3/readdir.3
> index 140b5e4..ed6c816 100644
> --- a/man3/readdir.3
> +++ b/man3/readdir.3
> @@ -144,6 +144,15 @@ returns 0, and returns NULL in
> .TP
> .B EBADF
> Invalid directory stream descriptor \fIdirp\fP.
> +.SH ATTRIBUTES
> +.SS Multithreading(see pthreads(7))
> +The
> +.BR readdir ()
> +function is not thread-safe.
> +.LP
> +The
> +.BR readdir_r ()
> +function is thread-safe.
> .SH CONFORMING TO
> SVr4, 4.3BSD, POSIX.1-2001.
> .SH NOTES
>
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] readdir.3: ATTRIBUTES: Note function that is not thread-safe
[not found] ` <519DD2A5.2070606-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2013-05-23 11:10 ` Michael Kerrisk
[not found] ` <519DF930.2020502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Michael Kerrisk @ 2013-05-23 11:10 UTC (permalink / raw)
To: Peng Haitao; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
On 05/23/13 10:26, Peng Haitao wrote:
>
> Sorry:(
> The patch is redundant, please ignore it.
>
Peng, Why do you consider it redundant?
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] readdir.3: ATTRIBUTES: Note function that is not thread-safe
[not found] ` <519DF930.2020502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-05-24 0:24 ` Peng Haitao
[not found] ` <519EB324.80905-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Peng Haitao @ 2013-05-24 0:24 UTC (permalink / raw)
To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
On 05/23/2013 07:10 PM, Michael Kerrisk wrote:
> On 05/23/13 10:26, Peng Haitao wrote:
>>
>> Sorry:(
>> The patch is redundant, please ignore it.
>>
>
> Peng, Why do you consider it redundant?
The patch has been applied in your local branch:)
http://article.gmane.org/gmane.linux.man/3770
--
Best Regards,
Peng
> --
> 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
>
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] readdir.3: ATTRIBUTES: Note function that is not thread-safe
[not found] ` <519EB324.80905-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2013-05-27 2:55 ` Michael Kerrisk
0 siblings, 0 replies; 5+ messages in thread
From: Michael Kerrisk @ 2013-05-27 2:55 UTC (permalink / raw)
To: Peng Haitao; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
On 05/24/13 02:24, Peng Haitao wrote:
>
> On 05/23/2013 07:10 PM, Michael Kerrisk wrote:
>> On 05/23/13 10:26, Peng Haitao wrote:
>>>
>>> Sorry:(
>>> The patch is redundant, please ignore it.
>>>
>>
>> Peng, Why do you consider it redundant?
>
> The patch has been applied in your local branch:)
>
> http://article.gmane.org/gmane.linux.man/3770
D'oh! Okay -- thanks ;-).
Cheers,
Michael
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-05-27 2:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23 8:14 [PATCH] readdir.3: ATTRIBUTES: Note function that is not thread-safe Peng Haitao
[not found] ` <1369296896-30609-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2013-05-23 8:26 ` Peng Haitao
[not found] ` <519DD2A5.2070606-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2013-05-23 11:10 ` Michael Kerrisk
[not found] ` <519DF930.2020502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-05-24 0:24 ` Peng Haitao
[not found] ` <519EB324.80905-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2013-05-27 2:55 ` Michael Kerrisk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).