system_getegid(3f) - [M_system:QUERY] get the effective group ID (GID) of current process from Fortran by calling getegid(3c) (LICENSE:PD)
Synopsis
Description
Return Value
Errors
See Also
Examples
integer(kind=c_int) function system_getegid()
The getegid() function returns the effective group ID of the calling process.
The getegid() should always be successful and no return value is reserved to indicate an error.
No errors are defined.
getegid(), system_geteuid(), getuid(), setegid(), seteuid(), setgid(), setregid(), setreuid(), setuid()
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_getegidResults:
> EGID= 1000
Nemo Release 3.1 | system_getegid (3m_system) | March 07, 2025 |