GETGID.2
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- GETGID(2) Minix Programmer's Manual GETGID(2)
- NAME
- getgid, getegid - get group identity
- SYNOPSIS
- #include <sys/types.h>
- #include <unistd.h>
- gid_t getgid(void)
- gid_t getegid(void)
- DESCRIPTION
- Getgid returns the real group ID of the current process, getegid the
- effective group ID.
- The real group ID is specified at login time.
- The effective group ID is more transient, and determines additional
- access permission during execution of a ``set-group-ID'' process, and it
- is for such processes that getgid is most useful.
- SEE ALSO
- getuid(2), setgid(2).
- 5BSD January 7, 1986 1