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
Example

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()

EXAMPLE

Get group ID from Fortran

   program demo_system_getegid
   use M_system, only : system_getegid
   implicit none
      write(*,*)’GID=’,system_getegid()
   end program demo_system_getegid


Nemo Release 3.1 system_getegid (3) July 22, 2023
Generated by manServer 1.08 from a1ca141b-4d13-4952-b460-203e3f6b2d60 using man macros.