OSDN Git Service

(split) LDP: Update drafts based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / draft / man3 / getttyent.3
index 3b8a745..114fedb 100644 (file)
@@ -9,7 +9,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH GETTTYENT 3 2002\-07\-18 GNU "Linux Programmer's Manual"
+.TH GETTTYENT 3 2013\-06\-21 GNU "Linux Programmer's Manual"
 .SH 名前
 getttyent, getttynam, setttyent, endttyent \- ttys ファイルのエントリを取得する
 .SH 書式
@@ -55,6 +55,16 @@ struct ttyent {
 #define TTY_ON     0x01  /* ログインを有効にする (ty_getty プログラムを開始する) */
 #define TTY_SECURE 0x02  /* ユーザ ID 0 でのログインを許可する */
 .fi
+.SH ATTRIBUTES
+.SS "Multithreading (see pthreads(7))"
+The \fBgetttyent\fP()  returns a pointer to a static variable, so it is not
+thread\-safe.
+.LP
+The \fBsetttyent\fP()  and \fBendttyent\fP()  use a static variable, so they are
+not thread\-safe.
+.LP
+The \fBgetttynam\fP()  calls thread\-unsafe function \fBgetttyent\fP()  so it is
+not thread\-safe.
 .SH 準拠
 POSIX.1\-2001 にはない。 BSD 系に存在し、おそらく他のシステムにもあるだろう。
 .SH 注意
@@ -62,6 +72,6 @@ Linux では、ファイル \fI/etc/ttys\fP と上で説明した関数は使わ
 .SH 関連項目
 \fBttyname\fP(3), \fBttyslot\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。