RaspberryIO_26/Unosquare.RaspberryIO/Native/Standard.cs
2019-12-08 12:34:43 +01:00

17 lines
514 B
C#

using System;
using System.Runtime.InteropServices;
namespace Unosquare.RaspberryIO.Native {
internal static class Standard {
internal const String LibCLibrary = "libc";
/// <summary>
/// Fills in the structure with information about the system.
/// </summary>
/// <param name="name">The name.</param>
/// <returns>The result.</returns>
[DllImport(LibCLibrary, EntryPoint = "uname", SetLastError = true)]
public static extern Int32 Uname(out SystemName name);
}
}