// Copyright Epic Games, Inc. All Rights Reserved. using System.Runtime.InteropServices; namespace JobDriver.Utility { /// /// Linux specific P/Invoke calls /// static class LinuxInterop { /// /// Get user identity /// /// Real user ID of the calling process [DllImport("libc", SetLastError = true)] internal static extern uint getuid(); /// /// Get group identity /// /// Real group ID of the calling process [DllImport("libc", SetLastError = true)] internal static extern uint getgid(); } }