Thread (1 message) 1 message, 1 author, 2015-02-11

Re: [PATCH V2] fgetgrent.3: ATTRIBUTES: Note function that is thread-safe

From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-02-11 07:55:15

On 02/11/2015 08:35 AM, Ma Shimiao wrote:
quoted hunk
The marking matches glibc marking.

Signed-off-by: Ma Shimiao <redacted>
---
 man3/fgetgrent.3 | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/man3/fgetgrent.3 b/man3/fgetgrent.3
index 57665dd..e599483 100644
--- a/man3/fgetgrent.3
+++ b/man3/fgetgrent.3
@@ -90,6 +90,18 @@ is set to indicate the cause.
 Insufficient memory to allocate
 .I group
 structure.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR fgetgrent ()
+T}	Thread safety	MT-Unsafe race:fgrent
Why the change here in the V2? What does "fgrent" refer to?

Thanks,

Michael

quoted hunk
+.TE
 .SH CONFORMING TO
 SVr4.
 .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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help