getOSType

fnstring getOSType() @safe nothrow

Gets OS type.

Returns

OS type string (e.g., "FreeBSD").

Example:

auto osType = getOSType();
writeln("OS: ", osType);