OSDN Git Service

(split) LDP: Update release pages based on LDP 3.54 release
[linuxjm/LDP_man-pages.git] / release / man3 / ttyname.3
index bdb66f7..ef82ae3 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 1995 Jim Van Zandt <jrv@vanzandt.mv.com>
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
@@ -16,9 +17,9 @@
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
 .\"
 .\" Modified 2001-12-13, Martin Schulze <joey@infodrom.org>
 .\" Added ttyname_r, aeb, 2002-07-20
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH TTYNAME 3 2008\-07\-14 Linux "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 1997 Hiroaki Nagoya
+.\"       all rights reserved.
+.\" Translated Mon Feb 10 1997 by Hiroaki Nagoya <nagoya@is.titech.ac.jp>
+.\" Updated Fri Dec 21 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
+.\" Updated Fri Oct 16 JST 2002 by Kentaro Shirakata <argrath@ub32.org>
+.\" Updated 2013-03-26, Akihiro MOTOKI <amotoki@gmail.com>
+.\" Updated 2013-07-22, Akihiro MOTOKI <amotoki@gmail.com>
+.\"
+.TH TTYNAME 3 2013\-06\-21 Linux "Linux Programmer's Manual"
 .SH 名前
 ttyname, ttyname_r \- 端末名を返す
 .SH 書式
@@ -48,7 +58,6 @@ ttyname, ttyname_r \- 端末名を返す
 \fBttyname\fP()  関数は、成功時はパス名へのポインタを返す。 エラー時は NULL を返し、 \fIerrno\fP が適切に設定される。
 \fBttyname_r\fP()  関数は、成功時には 0 を返し、エラー時にはエラー番号を返す。
 .SH エラー
-\fBttyname_r\fP():
 .TP 
 \fBEBADF\fP
 ファイルディスクリプタが不正。
@@ -57,12 +66,17 @@ ttyname, ttyname_r \- 端末名を返す
 ファイルディスクリプタが端末デバイスを示していない。
 .TP 
 \fBERANGE\fP
-\fIbuflen\fP がパス名を格納するには短すぎる。
+(\fBttyname_r\fP()) \fIbuflen\fP がパス名を格納するには短すぎる。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBttyname\fP() 関数はスレッドセーフではない。
+.LP
+\fBttyname_r\fP() 関数はスレッドセーフである。
 .SH 準拠
 4.2BSD, POSIX.1\-2001.
 .SH 関連項目
-\fBfstat\fP(2), \fBisatty\fP(3)
+\fBfstat\fP(2), \fBctermid\fP(3), \fBisatty\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。