RaspberryIO_26/Unosquare.RaspberryIO/Native/Standard.cs

17 lines
512 B
C#
Raw Normal View History

2019-12-06 23:12:34 +01:00
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);
}
2019-12-04 18:57:18 +01:00
}