Skip to content

CurrentOS

Gets the current operating system

Declaration

Source position: fpmkunit.pp line 1697

function CurrentOS : string;

Function result

Current operating system identifier

Description

CurrentOS returns the current operating system identifier for the running platform. This function provides platform detection for conditional compilation and platform-specific build operations.

The operating system identifier is used to select appropriate compiler options, file paths, and installation procedures for the target platform.