fortplot_os_detection Module

Operating system detection and environment utilities

This module handles OS detection at runtime and environment variable operations for cross-platform compatibility.


Functions

public function is_debug_enabled() result(debug_enabled)

Check if debug logging is enabled via environment variable Uses a C helper wrapping getenv() to ensure dynamic updates from the current process environment are observed reliably.

Arguments

None

Return Value logical

public function is_windows() result(windows)

Detect if running on Windows at runtime

Arguments

None

Return Value logical