On this page
  1. posix.getegid
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

posix.getegid

Prev: posix.getcwdb | Up: posix | Next: posix.geteuid
Rel: posix.abort, posix.access, posix.chdir, posix.chflags
Ref: docs.python.org — posix.getegid
Tags: #public #python3 #stdlib #posix


Import

import posix
from posix import getegid

Signature & Overview

posix.getegid()

Return the current process's effective group id.

Usage

import os

assert isinstance(os.getegid(), int)

Gotchas

REPL Inspect

from posix import getegid
help(getegid)

Linked from

Related notes