getgid.2
来自「Unix操作系统minix 2.0源码」· 2 代码 · 共 35 行
2
35 行
.\" Copyright (c) 1983 Regents of the University of California..\" All rights reserved. The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".\" @(#)getgid.2 6.2 (Berkeley) 1/7/86.\".TH GETGID 2 "January 7, 1986".UC 5.SH NAMEgetgid, getegid \- get group identity.SH SYNOPSIS.nf.ft B#include <sys/types.h>#include <unistd.h>gid_t getgid(void)gid_t getegid(void).fi.SH DESCRIPTION.B Getgidreturns the real group ID of the current process,.B getegidthe effective group ID..PPThe real group ID is specified at login time..PPThe effective group ID is more transient, and determinesadditional access permission during execution of a``set-group-ID'' process, and it is for such processesthat \fBgetgid\fP is most useful..SH "SEE ALSO".BR getuid (2),.BR setgid (2).
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?