linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] getgrent.3: Add explanation for grent
@ 2015-02-25  5:17 Ma Shimiao
       [not found] ` <1424841432-18853-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ma Shimiao @ 2015-02-25  5:17 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Ma Shimiao

Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/getgrent.3 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/man3/getgrent.3 b/man3/getgrent.3
index 7a39198..00d90ea 100644
--- a/man3/getgrent.3
+++ b/man3/getgrent.3
@@ -183,6 +183,19 @@ T{
 .BR endgrent ()
 T}	Thread safety	MT-Unsafe race:grent locale
 .TE
+
+[[
+In the above table,
+.I grent
+in
+.I race:grent
+signifies that if any of the functions
+.BR setgrent (),
+.BR getgrent (),
+or
+.BR endgrent ()
+are used in parallel in different threads of a program, then data races could occur.
+]]
 .SH CONFORMING TO
 SVr4, 4.3BSD, POSIX.1-2001.
 .SH SEE ALSO
-- 
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] getgrent.3: Add explanation for grent
       [not found] ` <1424841432-18853-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-02-26  7:34   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-02-26  7:34 UTC (permalink / raw)
  To: Ma Shimiao
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 02/25/2015 06:17 AM, Ma Shimiao wrote:
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>

Thanks, Ma Shimiao. Applied.

Cheers,

Michael




> ---
>  man3/getgrent.3 | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/man3/getgrent.3 b/man3/getgrent.3
> index 7a39198..00d90ea 100644
> --- a/man3/getgrent.3
> +++ b/man3/getgrent.3
> @@ -183,6 +183,19 @@ T{
>  .BR endgrent ()
>  T}	Thread safety	MT-Unsafe race:grent locale
>  .TE
> +
> +[[
> +In the above table,
> +.I grent
> +in
> +.I race:grent
> +signifies that if any of the functions
> +.BR setgrent (),
> +.BR getgrent (),
> +or
> +.BR endgrent ()
> +are used in parallel in different threads of a program, then data races could occur.
> +]]
>  .SH CONFORMING TO
>  SVr4, 4.3BSD, POSIX.1-2001.
>  .SH SEE ALSO
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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] 2+ messages in thread

end of thread, other threads:[~2015-02-26  7:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25  5:17 [PATCH] getgrent.3: Add explanation for grent Ma Shimiao
     [not found] ` <1424841432-18853-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-02-26  7:34   ` Michael Kerrisk (man-pages)

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).