[flang-commits] [flang] [flang] GETUID runtime and lowering	intrinsics (PR #71689)
    Yi Wu via flang-commits 
    flang-commits at lists.llvm.org
       
    Thu Nov  9 02:45:56 PST 2023
    
    
  
PAX-12-WU wrote:
in windows it returns 0, hardcoded. 
Windows doesn't have getuid or anything Win32 equivalent, and it is also not supported in gfortran.
Windows however have "GetTokenInformation" call and querying for the TokenUser information class.
It returns user's SID.
https://github.com/llvm/llvm-project/pull/71689
    
    
More information about the flang-commits
mailing list