X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=release%2Fman3%2Fgetutent.3;h=b9088878effe62fd8b9dc3c32402c74f78c7b957;hb=bb92023e2caf6dc30bd3a8f07877ec870c853e23;hp=bebe10e3cfddcb36655b3eac9b29e36309a5efb9;hpb=f5d1a45c05af679fb80706c40816f4ec5152926e;p=linuxjm%2FLDP_man-pages.git diff --git a/release/man3/getutent.3 b/release/man3/getutent.3 index bebe10e3..b9088878 100644 --- a/release/man3/getutent.3 +++ b/release/man3/getutent.3 @@ -1,5 +1,6 @@ .\" Copyright 1995 Mark D. Roth (roth@uiuc.edu) .\" +.\" %%%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 +.\" . +.\" %%%LICENSE_END .\" .\" References consulted: .\" Linux libc source code @@ -136,17 +137,17 @@ Linux 以外のシステムでは、 \fIutmpx\fP 構造体は \fIutmp\fP 構造 追加のフィールドがあったり、既存のフィールドのサイズが大きくなっていたり するものもある。複数のファイルが使用されている場合もあり、多くの場合 \fI/var/*/utmpx\fP と \fI/var/*/wtmpx\fP というファイルが使われる。 .LP -一方、 Linux glibc では複数の \fIutmpx\fP ファイル は使われていない。 -\fIutmp\fP 構造体が十分に大きいからである。 -上記の名前に "x" が付いた関数は "x" が付いていない対応する関数の別名と -なっている (例えば \fIgetutxent\fP() は \fIgetutent\fP() の別名である)。 +Linux glibc on the other hand does not use a parallel \fIutmpx\fP file since +its \fIutmp\fP structure is already large enough. The "x" functions listed +above are just aliases for their counterparts without the "x" (e.g., +\fBgetutxent\fP() is an alias for \fBgetutent\fP()). .SH 注意 -.SS "glibc での注意" +.SS "Glibc notes" 上記の関数群はスレッド・セーフではない。 glibc にはリエントラント版 (reentrant) が追加されている。 .sp .nf \fB#define _GNU_SOURCE\fP /* or _SVID_SOURCE or _BSD_SOURCE; -\& \fBfeature_test_macros(7)\fP 参照 */ +\& see \fBfeature_test_macros\fP(7) */ \fB#include \fP .sp \fBint getutent_r(struct utmp *\fP\fIubuf\fP\fB, struct utmp **\fP\fIubufp\fP\fB);\fP @@ -210,6 +211,6 @@ main(int argc, char *argv[]) .SH 関連項目 \fBgetutmp\fP(3), \fButmp\fP(5) .SH この文書について -この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部 +この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。