|
// <auto-generated/>
namespace Microsoft.DotNet.Cli.Utils
{
internal static unsafe partial class NativeMethods
{
internal static unsafe partial class Posix
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.LibraryImportGenerator", "11.0.14.26904")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
internal static partial int 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);
}
}
}
}
|