|
// <auto-generated/>
namespace Aspire.Hosting.Dcp.Process
{
internal static unsafe partial class ProcessUtil
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.LibraryImportGenerator", "8.0.12.26602")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
private static partial int sys_kill(int pid, int sig)
{
int __lastError;
int __retVal;
{
global::System.Runtime.InteropServices.Marshal.SetLastSystemError(0);
__retVal = __PInvoke(pid, sig);
__lastError = global::System.Runtime.InteropServices.Marshal.GetLastSystemError();
}
global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
return __retVal;
// Local P/Invoke
[global::System.Runtime.InteropServices.DllImportAttribute("libc", EntryPoint = "kill", ExactSpelling = true)]
static extern unsafe int __PInvoke(int __pid_native, int __sig_native);
}
}
}
|