\fBESRCH\fP
レコードが見つからなかった。
.PP
-\fBsetutent\fP(), \fBpututline\fP(), and the \fBgetut*\fP() functions can also fail
-for the reasons described in \fBopen\fP(2).
+関数 \fBsetutent\fP(), \fBpututline\fP(), \fBgetut*\fP() は \fBopen\fP(2)
+に書かれている理由でも失敗することがある。
.SH ファイル
/var/run/utmp 現在ログイン中のユーザーのデータベース
.br
\fB struct utmp *\fP\fIubuf\fP\fB, struct utmp **\fP\fIubufp\fP\fB);\fP
.fi
.sp
-These functions are GNU extensions, analogs of the functions of the same
-name without the _r suffix. The \fIubuf\fP argument gives these functions a
-place to store their result. On success they return 0, and a pointer to the
-result is written in \fI*ubufp\fP. On error, these functions return \-1. There
-are no utmpx equivalents of the above functions. (POSIX.1 does not specify
-such functions.)
+これらの関数は GNU での拡張であり、末尾の _r をとった名前の関数と 同様の機能を持つ。 \fIubuf\fP
+パラメータは結果を格納する場所を指定する。 成功すると 0 を返し、結果へのポインタを \fI*ubufp\fP に書き込む。エラーの場合 \-1 を返す。
+上記の関数に対応する utmpx 版は存在しない (POSIX.1 ではこれらの関数を規定されていない)。
.SH 例
以下の例では、 utmp のレコードの追加・削除を行っている。このコードは、 擬似端末 (pseudo terminal)
から実行されることを想定している。 実際のアプリケーションでは \fBgetpwuid\fP(3) と \fBttyname\fP(3)
.SH 関連項目
\fBgetutmp\fP(3), \fButmp\fP(5)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。