1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using Microsoft.Win32.SafeHandles; 6 using System.ComponentModel; 7 using System.Runtime.InteropServices; 8 using System.Security.Principal; 9 10 namespace System.Diagnostics.Tests 11 { 12 internal partial class Interop 13 { 14 [DllImport("libc")] getpid()15 internal static extern int getpid(); 16 17 [DllImport("libc")] getsid(int pid)18 internal static extern int getsid(int pid); 19 } 20 } 21