ptsname.3: Reformat thread-safety information

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Peng Haitao 2014-09-09 11:29:25 +08:00 committed by Michael Kerrisk
parent 57275d24b2
commit 447d472cac
1 changed files with 12 additions and 6 deletions

View File

@ -77,14 +77,20 @@ is too small.
.BR ptsname ()
is provided in glibc since version 2.1.
.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 ptsname ()
function is not thread-safe.
.LP
The
T} Thread safety MT-Unsafe
T{
.BR ptsname_r ()
function is thread-safe.
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
.BR ptsname ()
is part of the UNIX 98 pseudoterminal support (see