mirror of https://github.com/mkerrisk/man-pages
ptsname.3: ATTRIBUTES: Note function that is not thread-safe
The function ptsname() is not thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
This commit is contained in:
parent
f4d7c22be6
commit
1d94efa5ad
|
@ -76,6 +76,15 @@ is too small.
|
|||
.SH VERSIONS
|
||||
.BR ptsname ()
|
||||
is provided in glibc since version 2.1.
|
||||
.SH ATTRIBUTES
|
||||
.SS Multithreading (see pthreads(7))
|
||||
The
|
||||
.BR ptsname ()
|
||||
function is not thread-safe.
|
||||
.LP
|
||||
The
|
||||
.BR ptsname_r ()
|
||||
function is thread-safe.
|
||||
.SH CONFORMING TO
|
||||
.BR ptsname ()
|
||||
is part of the UNIX 98 pseudoterminal support (see
|
||||
|
|
Loading…
Reference in New Issue