[PATCH] hsearch.3: Modify thread-safety information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As annotation in glibc manual is more detailed, change the 
thread-safety information to be the same as glibc manual.

Signed-off-by: Ma Shimiao <mashimiao.fnst@xxxxxxxxxxxxxx>
---
 man3/hsearch.3 | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/man3/hsearch.3 b/man3/hsearch.3
index aced682..0f1af24 100644
--- a/man3/hsearch.3
+++ b/man3/hsearch.3
@@ -233,19 +233,21 @@ For an explanation of the terms used in this section, see
 .BR attributes (7).
 .TS
 allbox;
-lbw38 lb lb
+lbw25 lb lb
 l l l.
 Interface	Attribute	Value
 T{
 .BR hcreate (),
 .BR hsearch (),
+.br
 .BR hdestroy ()
-T}	Thread safety	MT-Unsafe
+T}	Thread safety	MT-Unsafe race:hsearch
 T{
 .BR hcreate_r (),
 .BR hsearch_r (),
+.br
 .BR hdestroy_r ()
-T}	Thread safety	MT-Safe
+T}	Thread safety	MT-Safe race:htab
 .TE
 .SH CONFORMING TO
 The functions
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux