From fad2b2086a71c2b4201d6aac0d05687702b1a66e Mon Sep 17 00:00:00 2001 From: Peng Haitao Date: Mon, 14 Jul 2014 14:21:00 +0800 Subject: [PATCH] ttyslot.3: Reformat thread-safety information Signed-off-by: Peng Haitao Signed-off-by: Michael Kerrisk --- man3/ttyslot.3 | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/man3/ttyslot.3 b/man3/ttyslot.3 index 99ba4c2f4..5a98a0ca0 100644 --- a/man3/ttyslot.3 +++ b/man3/ttyslot.3 @@ -121,12 +121,17 @@ associated with a terminal that occurs in this data base) it returns 0 on UNIX\ V6 and V7 and BSD-like systems, but \-1 on System V-like systems. .SH ATTRIBUTES -.SS Multithreading (see pthreads(7)) -The +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 ttyslot () -function calls thread-unsafe function -.BR getttyent (), -so it is not thread-safe. +T} Thread safety MT-Unsafe +.TE .SH CONFORMING TO SUSv1; marked as LEGACY in SUSv2; removed in POSIX.1-2001. SUSv2 requires \-1 on error.