OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / draft / man2 / getgid.2
1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\"
3 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
4 .\"
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\"
25 .\" Japanese Version Copyright (c) 1997 SUTO, Mitsuaki
26 .\"         all rights reserved.
27 .\" Translated Thu Jun 26 20:27:59 JST 1997
28 .\"         by SUTO, Mitsuaki <suto@av.crl.sony.co.jp>
29 .\"
30 .TH GETGID 2 1993-07-23 "Linux" "Linux Programmer's Manual"
31 .\"O .SH NAME
32 .SH Ì¾Á°
33 .\"O getgid, getegid \- get group identity
34 getgid, getegid \- ¥°¥ë¡¼¥× ID ¤òÆÀ¤ë
35 .\"O .SH SYNOPSIS
36 .SH ½ñ¼°
37 .B #include <unistd.h>
38 .br
39 .B #include <sys/types.h>
40 .sp
41 .B gid_t getgid(void);
42 .br
43 .B gid_t getegid(void);
44 .\"O .SH DESCRIPTION
45 .SH ÀâÌÀ
46 .\"O .BR getgid ()
47 .\"O returns the real group ID of the calling process.
48 .BR getgid ()
49 ¤Ï¸Æ¤Ó½Ð¤·¸µ¤Î¥×¥í¥»¥¹¤Î¼Â¥°¥ë¡¼¥× ID ¤òÊÖ¤¹¡£
50
51 .\"O .BR getegid ()
52 .\"O returns the effective group ID of the calling process.
53 .BR getegid ()
54 ¤Ï¸Æ¤Ó½Ð¤·¸µ¤Î¥×¥í¥»¥¹¤Î¼Â¸ú¥°¥ë¡¼¥× ID ¤òÊÖ¤¹¡£
55 .\"O .SH ERRORS
56 .SH ¥¨¥é¡¼
57 .\"O These functions are always successful.
58 ¤³¤ì¤é¤Î´Ø¿ô¤Ï¾ï¤ËÀ®¸ù¤¹¤ë¡£
59 .\"O .SH "CONFORMING TO"
60 .SH ½àµò
61 POSIX.1-2001, 4.3BSD.
62 .\"O .SH "SEE ALSO"
63 .SH ´ØÏ¢¹àÌÜ
64 .BR getresgid (2),
65 .BR setgid (2),
66 .BR setregid (2),
67 .BR credentials (7)