OSDN Git Service

(split) LDP: Update releases based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / release / man3 / ttyslot.3
index 8bee542..e620196 100644 (file)
@@ -1,5 +1,6 @@
 .\" 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.
@@ -19,6 +20,7 @@
 .\"
 .\" 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>.
@@ -28,7 +30,7 @@
 .\" 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 書式
@@ -80,6 +82,10 @@ UNIX V7 ではフォーマットが変更された: 2 文字目が \fBgetty\fP(8
 成功した場合、この関数はスロット番号を返す。 エラーの場合 (例えば、ファイルディスクリプタ 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 を返すことが要求されている。
@@ -98,6 +104,6 @@ Minix には \fIfttyslot\fP(\fIfd\fP)  もある。
 .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/ に書かれている。