From 11cf4a69cf316e8f3c0d34384b6355fa83e04deb Mon Sep 17 00:00:00 2001 From: Ma Shimiao Date: Thu, 16 Apr 2015 12:57:27 +0800 Subject: [PATCH] clock.3: ATTRIBUTES: Note functions that is thread-safe The marking matches glibc marking. The marking of functions in glibc is: - clock: MT-Safe Signed-off-by: Ma Shimiao Signed-off-by: Michael Kerrisk --- man3/clock.3 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man3/clock.3 b/man3/clock.3 index 745754a3e..95f84e303 100644 --- a/man3/clock.3 +++ b/man3/clock.3 @@ -47,6 +47,19 @@ to get the number of seconds used, divide by If the processor time used is not available or its value cannot be represented, the function returns the value .IR (clock_t)\ \-1 . +.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 clock () +T} Thread safety MT-Safe +.TE + .SH CONFORMING TO C89, C99, POSIX.1-2001. XSI requires that