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:
Peng Haitao 2013-05-06 16:03:37 +08:00 committed by Michael Kerrisk
parent f4d7c22be6
commit 1d94efa5ad
1 changed files with 9 additions and 0 deletions

View File

@ -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