Thread (1 message) 1 message, 1 author, 2015-03-03

Re: [PATCH] fseek.3: ATTRIBUTES: Note functions that are thread-safe

From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-03-03 11:41:07

On 03/03/2015 09:49 AM, Ma Shimiao wrote:
The markings match glibc markings.
Thanks, Ma Shimiao. Applied.

Cheers,

Michael

quoted hunk
Signed-off-by: Ma Shimiao <redacted>
---
 man3/fseek.3 | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff --git a/man3/fseek.3 b/man3/fseek.3
index a01cf35..eecf139 100644
--- a/man3/fseek.3
+++ b/man3/fseek.3
@@ -166,6 +166,24 @@ for any of the errors specified for the routines
 .BR lseek (2),
 and
 .BR malloc (3).
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw27 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR fseek (),
+.BR ftell (),
+.BR rewind (),
+.br
+.BR fgetpos (),
+.BR fsetpos ()
+T}	Thread safety	MT-Safe
+.TE
+
 .SH CONFORMING TO
 C89, C99.
 .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