Annotation of 43BSDReno/lib/libc/sys/getgid.2, revision 1.1

1.1     ! root        1: .\" Copyright (c) 1983 Regents of the University of California.
        !             2: .\" All rights reserved.  The Berkeley software License Agreement
        !             3: .\" specifies the terms and conditions for redistribution.
        !             4: .\"
        !             5: .\"    @(#)getgid.2    6.2 (Berkeley) 1/7/86
        !             6: .\"
        !             7: .TH GETGID 2 "January 7, 1986"
        !             8: .UC 5
        !             9: .SH NAME
        !            10: getgid, getegid \- get group identity
        !            11: .SH SYNOPSIS
        !            12: .nf
        !            13: .ft B
        !            14: #include <sys/types.h>
        !            15: .PP
        !            16: .nf
        !            17: .ft B
        !            18: gid = getgid()
        !            19: gid_t gid;
        !            20: .PP
        !            21: .ft B
        !            22: egid = getegid()
        !            23: gid_t egid;
        !            24: .fi
        !            25: .SH DESCRIPTION
        !            26: .I Getgid
        !            27: returns the real group ID of the current process,
        !            28: .I getegid
        !            29: the effective group ID.
        !            30: .PP
        !            31: The real group ID is specified at login time.
        !            32: .PP
        !            33: The effective group ID is more transient, and determines
        !            34: additional access permission during execution of a
        !            35: ``set-group-ID'' process, and it is for such processes
        !            36: that \fIgetgid\fP is most useful.
        !            37: .SH "SEE ALSO"
        !            38: getuid(2), setregid(2), setgid(3)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.