4 references to Sysctl
Microsoft.Build.Framework (4)
Utilities\ProcessExtensions.cs (4)
549
if (
Sysctl
(mib, Span<byte>.Empty, ref size) != 0 || size == 0)
557
if (
Sysctl
(mib, buffer.AsSpan().Slice(0, (int)size), ref size) != 0)
617
if (
Sysctl
(mib, Span<byte>.Empty, ref size) != 0 || size == 0)
628
if (
Sysctl
(mib, span, ref size) != 0 || size < (nuint)sizeof(nint))