mirror of https://github.com/mkerrisk/man-pages
ttyslot.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:
parent
c433a1f862
commit
fad2b2086a
|
@ -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,
|
it returns 0 on UNIX\ V6 and V7 and BSD-like systems,
|
||||||
but \-1 on System V-like systems.
|
but \-1 on System V-like systems.
|
||||||
.SH ATTRIBUTES
|
.SH ATTRIBUTES
|
||||||
.SS Multithreading (see pthreads(7))
|
For an explanation of the terms used in this section, see
|
||||||
The
|
.BR attributes (7).
|
||||||
|
.TS
|
||||||
|
allbox;
|
||||||
|
lb lb lb
|
||||||
|
l l l.
|
||||||
|
Interface Attribute Value
|
||||||
|
T{
|
||||||
.BR ttyslot ()
|
.BR ttyslot ()
|
||||||
function calls thread-unsafe function
|
T} Thread safety MT-Unsafe
|
||||||
.BR getttyent (),
|
.TE
|
||||||
so it is not thread-safe.
|
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
SUSv1; marked as LEGACY in SUSv2; removed in POSIX.1-2001.
|
SUSv1; marked as LEGACY in SUSv2; removed in POSIX.1-2001.
|
||||||
SUSv2 requires \-1 on error.
|
SUSv2 requires \-1 on error.
|
||||||
|
|
Loading…
Reference in New Issue