OSDN Git Service

(split) LDP: Update the version to 3.53 in PO files
[linuxjm/LDP_man-pages.git] / draft / man2 / getgid.2
index b359c33..761f3c9 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
+.\"
+.\"*******************************************************************
 .\"
-.\" 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>
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH GETGID 2 1993-07-23 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
-.SH Ì¾Á°
-.\"O getgid, getegid \- get group identity
-getgid, getegid \- ¥°¥ë¡¼¥× ID ¤òÆÀ¤ë
-.\"O .SH SYNOPSIS
-.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);
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O .BR getgid ()
-.\"O returns the real group ID of the calling process.
-.BR getgid ()
-¤Ï¸Æ¤Ó½Ð¤·¸µ¤Î¥×¥í¥»¥¹¤Î¼Â¥°¥ë¡¼¥× ID ¤òÊÖ¤¹¡£
+\fBgid_t getegid(void);\fP
+.SH 説明
+\fBgetgid\fP()  は呼び出し元のプロセスの実グループ ID を返す。
 
-.\"O .BR getegid ()
-.\"O returns the effective group ID of the calling process.
-.BR getegid ()
-¤Ï¸Æ¤Ó½Ð¤·¸µ¤Î¥×¥í¥»¥¹¤Î¼Â¸ú¥°¥ë¡¼¥× ID ¤òÊÖ¤¹¡£
-.\"O .SH ERRORS
-.SH ¥¨¥é¡¼
-.\"O These functions are always successful.
-¤³¤ì¤é¤Î´Ø¿ô¤Ï¾ï¤ËÀ®¸ù¤¹¤ë¡£
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
-POSIX.1-2001, 4.3BSD.
-.\"O .SH "SEE ALSO"
-.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.53 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。