C Library Functions - system_getegid (3)
NAME
system_getegid(3f) - [M_system:QUERY] get the effective group ID (GID) of
current process from Fortran by calling getegid(3c)
(LICENSE:PD)
CONTENTS
Synopsis
Description
Return Value
Errors
See Also
Examples
SYNOPSIS
integer(kind=c_int) function system_getegid()
DESCRIPTION
The getegid() function returns the effective group ID of the
calling process.
RETURN VALUE
The getegid() should always be successful and no return value is
reserved to indicate an error.
ERRORS
No errors are defined.
SEE ALSO
getegid(), system_geteuid(), getuid(), setegid(), seteuid(), setgid(),
setregid(), setreuid(), setuid()
EXAMPLES
Get group ID from Fortran
program demo_system_getegid
use M_system, only : system_getegid
implicit none
write(*,*)EGID=,system_getegid()
end program demo_system_getegid
Results:
> EGID= 1000
| Nemo Release 3.1 | system_getegid (3) | June 29, 2025 |
Generated by manServer 1.08 from eac30d29-128f-41f5-b021-e3795b9a0223 using man macros.