OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man3 / getpass.3
index 188e522..574fd83 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 2000 Andries Brouwer (aeb@cwi.nl)
 .\"
+.\" %%%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
 .\" 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
 .\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH GETPASS 3 2010\-09\-20 Linux "Linux Programmer's Manual"
+.TH GETPASS 3 2013\-06\-21 Linux "Linux Programmer's Manual"
 .SH 名前
 getpass \- パスワードを取得する
 .SH 書式
@@ -48,14 +49,16 @@ _BSD_SOURCE ||
     (_XOPEN_SOURCE\ >=\ 500 ||
         _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
     !(_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600)
-.TP  4
 .fi
-glibc 2.2.2 より前: なし
+.TP  4
+glibc 2.2.2 より前:
+なし
 .PD
 .RE
 .ad b
 .SH 説明
-この関数は obsolete である。用いないこと。
+この関数は時代遅れ (obsolete) である。使用しないこと。端末のエコーを有効にせずに入力の読み込みを行いたい場合は、 \fBtermios\fP(3)
+の \fIECHO\fP フラグの説明を参照のこと。
 .PP
 \fBgetpass\fP()  関数は \fI/dev/tty\fP (プロセスの制御端末) をオープンし、文字列 \fIprompt\fP を出力する。そして
 echo をオフにし、一行 (「パスワード」)  を読み込み、端末の状態を元に戻して、再び \fI/dev/tty\fP をクローズする。
@@ -75,6 +78,9 @@ echo をオフにし、一行 (「パスワード」)  を読み込み、端末
 .\" .BR getpass ()
 .\" function appeared in Version 7 AT&T UNIX.
 \fI/dev/tty\fP
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBgetpass\fP() 関数はスレッドセーフではない。
 .SH 準拠
 SUSv2 には存在するが、過去の名残 (LEGACY) と位置付けられている。 POSIX.1\-2001 で削除された。
 .SH 注意
@@ -99,6 +105,6 @@ SUSv2 によれば、 \fBPASS_MAX\fP の値が 8 以下の場合は、この値
 .SH 関連項目
 \fBcrypt\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。