Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

CurrentOS

Gets the current operating system

Declaration

Source position: fpmkunit.pp line 1673

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.


Documentation generated on: Dec 15 2025