pidsNoGC

fnPidsBuffer pidsNoGC() @nogc @safe

Gets all process IDs without GC allocation.

This function populates a fixed-size buffer with process IDs, avoiding garbage collector allocation.

Returns

PidsBuffer containing process IDs.

Example:

auto buffer = pidsNoGC();
writeln("Found ", buffer.count, " processes");