aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2014-01-27 13:46:36 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-01-29 13:51:21 +0100
commit8532fe6441b3f5ef45411dbee350f33d3cc1e87f (patch)
tree155ff46f96f86eb13f14b9c3c4af8901a85ab7e1 /man3
parentf2eb5b9c839a8231cffeb7b1d7ca60ebf360c685 (diff)
downloadman-pages-8532fe6441b3f5ef45411dbee350f33d3cc1e87f.tar.gz
isatty.3: ATTRIBUTES: Note function that is thread-safe
The function isatty() is thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/isatty.37
1 files changed, 6 insertions, 1 deletions
diff --git a/man3/isatty.3 b/man3/isatty.3
index f8903294fd..03533cd1d4 100644
--- a/man3/isatty.3
+++ b/man3/isatty.3
@@ -23,7 +23,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH ISATTY 3 2008-12-03 "Linux" "Linux Programmer's Manual"
+.TH ISATTY 3 2014-01-27 "Linux" "Linux Programmer's Manual"
.SH NAME
isatty \- test whether a file descriptor refers to a terminal
.SH SYNOPSIS
@@ -59,6 +59,11 @@ POSIX.1-2001 specifies the error
.BR ENOTTY
.\" FIXME File a bug for this?
for this case.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR isatty ()
+function is thread-safe.
.SH CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001.
.SH SEE ALSO