Files
ReLibreHardwareMonitor/LibreHardwareMonitorLib/Interop/LibC.cs
T
Nick Babcock f4fb5ad13b Fix source file names on case sensitive file systems (#192)
Source file names will now match the class names.
2020-01-06 10:24:18 +01:00

24 lines
695 B
C#

// Mozilla Public License 2.0
// If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyright (C) LibreHardwareMonitor and Contributors
// All Rights Reserved
using System;
using System.Runtime.InteropServices;
// ReSharper disable InconsistentNaming
namespace LibreHardwareMonitor.Interop
{
internal class LibC
{
private const string DllName = "libc";
[DllImport(DllName)]
internal static extern int sched_getaffinity(int pid, IntPtr maskSize, ref ulong mask);
[DllImport(DllName)]
internal static extern int sched_setaffinity(int pid, IntPtr maskSize, ref ulong mask);
}
}