Manual Reference Pages - system_getuid (3m_system)
NAME
system_getuid(3f) - [M_system:QUERY] get real UID of current process
from Fortran by calling getuid(3c)
(LICENSE:PD)
CONTENTS
Synopsis
Description
Examples
SYNOPSIS
integer(kind=c_int) function system_getuid()
DESCRIPTION
The system_getuid(3f) function shall return the real user ID
of the calling process. The getuid() function shall always be
successful and no return value is reserved to indicate the error.
EXAMPLES
Get group ID from Fortran:
program demo_system_getuid
use M_system, only : system_getuid
implicit none
write(*,*)UID=,system_getuid()
end program demo_system_getuid
Results:
> UID= 1000
| Nemo Release 3.1 | system_getuid (3m_system) | March 07, 2025 |
Generated by manServer 1.08 from 61f6e47a-aba1-47bd-aaf5-034753784d65 using man macros.