OSDN Git Service

(split) LDP: Update release pages based on LDP 3.54 release
[linuxjm/LDP_man-pages.git] / release / man2 / getgid.2
index f71f37a..562a102 100644 (file)
@@ -1,7 +1,6 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
 .\"
+.\" %%%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
+.\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
 .\"
 .\" Japanese Version Copyright (c) 1997 SUTO, Mitsuaki
 .\"         all rights reserved.
 .\" Translated Thu Jun 26 20:27:59 JST 1997
 .\"         by SUTO, Mitsuaki <suto@av.crl.sony.co.jp>
+.\" Updated 2012-04-30, Akihiro MOTOKI <amotoki@gmail.com>
 .\"
-.TH GETGID 2 1993-07-23 "Linux" "Linux Programmer's Manual"
-.SH Ì¾Á°
-getgid, getegid \- ¥°¥ë¡¼¥× ID ¤òÆÀ¤ë
-.SH ½ñ¼°
-.B #include <unistd.h>
+.TH GETGID 2 2010\-11\-22 Linux "Linux Programmer's Manual"
+.SH 名前
+getgid, getegid \- グループ ID を得る
+.SH 書式
+\fB#include <unistd.h>\fP
 .br
-.B #include <sys/types.h>
+\fB#include <sys/types.h>\fP
 .sp
-.B gid_t getgid(void);
+\fBgid_t getgid(void);\fP
 .br
-.B gid_t getegid(void);
-.SH ÀâÌÀ
-.BR getgid ()
-¤Ï¸Æ¤Ó½Ð¤·¸µ¤Î¥×¥í¥»¥¹¤Î¼Â¥°¥ë¡¼¥× ID ¤òÊÖ¤¹¡£
+\fBgid_t getegid(void);\fP
+.SH 説明
+\fBgetgid\fP()  は呼び出し元のプロセスの実グループ ID を返す。
 
-.BR getegid ()
-¤Ï¸Æ¤Ó½Ð¤·¸µ¤Î¥×¥í¥»¥¹¤Î¼Â¸ú¥°¥ë¡¼¥× ID ¤òÊÖ¤¹¡£
-.SH ¥¨¥é¡¼
-¤³¤ì¤é¤Î´Ø¿ô¤Ï¾ï¤ËÀ®¸ù¤¹¤ë¡£
-.SH ½àµò
-POSIX.1-2001, 4.3BSD.
-.SH ´ØÏ¢¹àÌÜ
-.BR getresgid (2),
-.BR setgid (2),
-.BR setregid (2),
-.BR credentials (7)
+\fBgetegid\fP()  は呼び出し元のプロセスの実効グループ ID を返す。
+.SH エラー
+これらの関数は常に成功する。
+.SH 準拠
+POSIX.1\-2001, 4.3BSD.
+.SH 注意
+元々の Linux の \fBgetgid\fP() と \fBgetegid\fP() システムコールは
+16 ビットのグループ ID だけに対応していた。
+その後、Linux 2.4 で、32 ビットの ID に対応した
+\fBgetgid32\fP() と \fBgetegid32\fP() が追加された。
+glibc の \fBgetgid\fP() と \fBgetegid\fP() のラッパー関数は
+カーネルバージョンによるこの違いを吸収している。
+.SH 関連項目
+\fBgetresgid\fP(2), \fBsetgid\fP(2), \fBsetregid\fP(2), \fBcredentials\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。