+.\" Derived from text written by Martin Schulze (or taken from glibc.info)
+.\" and text written by Paul Thompson - both copyright 2002.
+.\"
+.\" %%%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., 675 Mass Ave, Cambridge, MA 02139,
-.\" USA.
-.\"
-.\" Derived from text written by Martin Schulze (or taken from glibc.info)
-.\" and text written by Paul Thompson - both copyright 2002.
+.\" 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.
.\"
.\"*******************************************************************
+.\"
+.\" Japanese Version Copyright (c) 2004-2005 Yuichi SATO
+.\" all rights reserved.
+.\" Translated Thu Aug 26 06:04:53 JST 2004
+.\" by Yuichi SATO <ysato444@yahoo.co.jp>
+.\" Updated & Modified Sat Jan 15 06:38:41 JST 2005 by Yuichi SATO
+.\"
.TH LOGIN 3 2004\-05\-06 GNU "Linux Programmer's Manual"
.SH 名前
login, logout \- utmp と wtmp エントリを書き込む
より正確には、 \fBlogin\fP() は引き数 \fIut\fP 構造体をとり、(もし存在するならば) フィールド \fIut\->ut_type\fP を
\fBUSER_PROCESS\fP という値にし、(もし存在するならば) フィールド \fIut\->ut_pid\fP を呼び出し元プロセスのプロセス
ID の値にする。 次にフィールド \fIut\->ut_line\fP の値を設定しようとする。
-この関数は、標準入力・標準出力・標準エラー出力の中から 端末 (tty) である最初のものをとり、 対応するパス名から先頭の \fI/dev/\fP
-ã\82\92å¼\95ã\81\84ã\81\9fã\82\82ã\81®ã\82\92 ã\81\93ã\81®ã\83\95ã\82£ã\83¼ã\83«ã\83\89ã\81«æ ¼ç´\8dã\81\97ã\81¦ã\80\81ã\81\93ã\81®æ§\8bé\80 ä½\93ã\82\92 utmp ã\83\95ã\82¡ã\82¤ã\83«ã\81«æ\9b¸ã\81\8dè¾¼ã\82\80ã\80\82 ä¸\80æ\96¹ã\80\81端æ\9c«å\90\8dã\81\8cè¦\8bã\81¤ã\81\8bã\82\89ã\81ªã\81\84å ´å\90\88ã\81¯ã\80\81ã\81\93ã\81®ã\83\95ã\82£ã\83¼ã\83«ã\83\89ã\81¯ "???"
-ã\81¨ã\81\95ã\82\8cã\81¦ã\80\81 ã\81\93ã\81®æ§\8bé\80 ä½\93ã\81¯ utmp ã\83\95ã\82¡ã\82¤ã\83«ã\81«æ\9b¸ã\81\8dè¾¼ã\81¾ã\82\8cã\81ªã\81\84ã\80\82 ã\81\9dã\81®å¾\8cã\81«ã\81\93ã\81®æ§\8bé\80 ä½\93ã\81¯ wtmp ã\83\95ã\82¡ã\82¤ã\83«ã\81«æ\9b¸ã\81\8dè¾¼ã\81¾ã\82\8cã\82\8bã\80\82
+この関数は、標準入力・標準出力・標準エラー出力の中から端末である最初のものをとり、対応するパス名から先頭の \fI/dev/\fP を引いたものを
+ã\81\93ã\81®ã\83\95ã\82£ã\83¼ã\83«ã\83\89ã\81«æ ¼ç´\8dã\81\97ã\81¦ã\80\81ã\81\93ã\81®æ§\8bé\80 ä½\93ã\82\92 utmp ã\83\95ã\82¡ã\82¤ã\83«ã\81«æ\9b¸ã\81\8dè¾¼ã\82\80ã\80\82 ä¸\80æ\96¹ã\80\81端æ\9c«å\90\8dã\81\8cè¦\8bã\81¤ã\81\8bã\82\89ã\81ªã\81\84å ´å\90\88ã\81¯ã\80\81ã\81\93ã\81®ã\83\95ã\82£ã\83¼ã\83«ã\83\89ã\81¯ "???" ã\81¨ã\81\95ã\82\8cã\81¦ã\80\81
+この構造体は utmp ファイルに書き込まれない。 その後にこの構造体は wtmp ファイルに書き込まれる。
.LP
\fBlogout\fP() 関数は utmp ファイルから \fIut_line\fP 引き数にマッチするエントリを探す。 レコードが見つかった場合、
\fIut_name\fP と \fIut_host\fP フィールドをクリアして、 \fIut_tv\fP タイムスタンプフィールドを更新し、 (もし存在するならば)
.SH 関連項目
\fBgetutent\fP(3), \fButmp\fP(5)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。