.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" References consulted:
.\" Linux libc source code
.\" Modified 1993-07-24 by Rik Faith <faith@cs.unc.edu>
.\" Modified 2004-10-10 by aeb
.\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.\"
.\" Japanese Version Copyright (c) 1998
.\" ISHIKAWA Mutsumi, all rights reserved.
.\" Translated 1998-05-23, ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
.\" Updated 2002-01-09, Kentaro Shirakata <argrath@ub32.org>
.\" Updated 2005-02-26, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
-.TH INITGROUPS 3 2007-07-26 "GNU" "Linux Programmer's Manual"
-.SH ̾Á°
-initgroups \- ÄɲäΥ°¥ë¡¼¥×¥¢¥¯¥»¥¹¥ê¥¹¥È¤Î½é´ü²½
-.SH ½ñ¼°
+.TH INITGROUPS 3 2007\-07\-26 GNU "Linux Programmer's Manual"
+.SH 名前
+initgroups \- 追加のグループアクセスリストの初期化
+.SH 書式
.nf
-.B #include <sys/types.h>
-.B #include <grp.h>
+\fB#include <sys/types.h>\fP
+\fB#include <grp.h>\fP
.sp
-.BI "int initgroups(const char *" user ", gid_t " group );
+\fBint initgroups(const char *\fP\fIuser\fP\fB, gid_t \fP\fIgroup\fP\fB);\fP
.fi
.sp
.in -4n
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
-.RB ( feature_test_macros (7)
-»²¾È):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参照):
.in
.sp
-.BR initgroups ():
-_BSD_SOURCE
-.SH ÀâÌÀ
-.BR initgroups ()
-´Ø¿ô¤Ï¥°¥ë¡¼¥×¥Ç¡¼¥¿¥Ù¡¼¥¹ \fI/etc/group\fP ¤òÆɤß
-¹þ¤ó¤Ç¡¢\fIuser\fP ¤¬½ê°¤·¤Æ¤¤¤ëÁ´¤Æ¤Î¥°¥ë¡¼¥×¤ò»È¤Ã¤Æ¡¢¥°¥ë¡¼¥×¥¢¥¯
-¥»¥¹¥ê¥¹¥È¤ò½é´ü²½¤¹¤ë¡£¤µ¤é¤Ë¡¢\fIgroup\fP ¤Ë¼¨¤µ¤ì¤ë¥°¥ë¡¼¥×¤â¥°¥ë¡¼
-¥×¥¢¥¯¥»¥¹¥ê¥¹¥È¤ËÄɲ䵤ì¤ë¡£
+\fBinitgroups\fP(): _BSD_SOURCE
+.SH 説明
+\fBinitgroups\fP() 関数はグループデータベース \fI/etc/group\fP を読み 込んで、\fIuser\fP
+が所属している全てのグループを使って、グループアク セスリストを初期化する。さらに、\fIgroup\fP に示されるグループもグルー
+プアクセスリストに追加される。
-.I user
-°ú¿ô¤Ï NULL ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
-.SH ÊÖ¤êÃÍ
-.BR initgroups ()
-´Ø¿ô¤Ï¡¢À®¸ù¤¹¤ë¤È 0 ¤òÊÖ¤¹¡£
-¥¨¥é¡¼¤Î¾ì¹ç¤Ï \-1 ¤òÊÖ¤·¡¢
-.I errno
-¤òŬÀÚ¤ËÀßÄꤹ¤ë¡£
-.SH ¥¨¥é¡¼
-.TP
-.B ENOMEM
-¥°¥ë¡¼¥×¾ðÊó¹½Â¤ÂΤòÇÛÃÖ¤¹¤ë¤¿¤á¤Î¥á¥â¥ê¤¬ÉÔ¤·¤Æ¤¤¤ë¡£
-.TP
-.B EPERM
-¸Æ½Ð¤·¥×¥í¥»¥¹¤¬½½Ê¬¤ÊÆø¢¤ò»ý¤Ã¤Æ¤¤¤Ê¤¤¡£
-¤³¤Î´Ø¿ô¤Î΢¤Ç¼Â¹Ô¤µ¤ì¤ë¥·¥¹¥Æ¥à¥³¡¼¥ë
-.BR setgroups (2)
-¤â»²¾È¤Î¤³¤È¡£
-.SH ¥Õ¥¡¥¤¥ë
+\fIuser\fP 引数は NULL であってはならない。
+.SH 返り値
+\fBinitgroups\fP() 関数は、成功すると 0 を返す。 エラーの場合は \-1 を返し、 \fIerrno\fP を適切に設定する。
+.SH エラー
+.TP
+\fBENOMEM\fP
+グループ情報構造体を配置するためのメモリーが不足している。
+.TP
+\fBEPERM\fP
+呼出しプロセスが十分な特権を持っていない。 この関数の裏で実行されるシステムコール \fBsetgroups\fP(2) も参照のこと。
+.SH ファイル
.nf
-\fI/etc/group\fP ¥°¥ë¡¼¥×¥Ç¡¼¥¿¥Ù¡¼¥¹¥Õ¥¡¥¤¥ë
+\fI/etc/group\fP グループデータベースファイル
.fi
-.SH ½àµò
+.SH 準拠
SVr4, 4.3BSD.
-.SH ´ØÏ¢¹àÌÜ
-.BR getgroups (2),
-.BR setgroups (2),
-.BR credentials (7)
+.SH 関連項目
+\fBgetgroups\fP(2), \fBsetgroups\fP(2), \fBcredentials\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.78 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。