C Library Functions  - system_geteuid (3)

NAME

system_geteuid(3f) - [M_system:QUERY] get effective UID of current process from Fortran by calling geteuid(3c) (LICENSE:PD)

CONTENTS

Synopsis
Description
Examples

SYNOPSIS

integer(kind=c_int) function system_geteuid()

DESCRIPTION

The system_geteuid(3f) function shall return the effective user ID of the calling process. The geteuid() function shall always be successful and no return value is reserved to indicate the error.

EXAMPLES

Get group ID from Fortran:

   program demo_system_geteuid
   use M_system, only : system_geteuid
   implicit none
      write(*,*)’EFFECTIVE UID=’,system_geteuid()
   end program demo_system_geteuid


Nemo Release 3.1 system_geteuid (3) February 23, 2025
Generated by manServer 1.08 from d82f3777-981c-449c-9d59-d03b7e034499 using man macros.