.\" Copyright (C) 2002 Andries Brouwer <aeb@cwi.nl>
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" This replaces an earlier man page written by Walter Harms
.\" <walter.harms@informatik.uni-oldenburg.de>.
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH TTYSLOT 3 2010\-09\-20 GNU "Linux Programmer's Manual"
+.TH TTYSLOT 3 2013\-06\-21 GNU "Linux Programmer's Manual"
.SH 名前
ttyslot \- カレントユーザの端末のスロットをファイルから探す
.SH 書式
成功した場合、この関数はスロット番号を返す。 エラーの場合 (例えば、ファイルディスクリプタ 0, 1, 2 の何れも
データベースにある端末に関連づけられていない場合)、 UNIX V6, V7, BSD 系のシステムは 0 を返すが、 System V 系のシステムは
\-1 を返す。
+.SH ATTRIBUTES
+.SS "Multithreading (see pthreads(7))"
+The \fBttyslot\fP() calls thread\-unsafe function \fBgetttyent\fP(), so it is not
+thread\-safe.
.SH 準拠
SUSv1。SUSv2 では「過去の名残 (LEGACY)」と位置付けられている。 POSIX.1\-2001 で削除された。 SUSv2 ではエラー時に
\-1 を返すことが要求されている。
.SH 関連項目
\fBgetttyent\fP(3), \fBttyname\fP(3), \fButmp\fP(5)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。