Skip to content

Operating system Infos

Finalspace edited this page May 29, 2026 · 1 revision

This category contains functions for retrieving several operating system information such as version, name, etc. More...

Data Structures

Type Name
struct fplOSVersionInfos
Stores the version information for the operating system. More...
struct fplVersionInfo
Stores version information. More...

Macros

Type Name
#define FPL_MAX_VERSION_PART_LENGTH
Maximum number of digits in a single version-number part (excluding NUL).

Typedefs

Type Name
typedef char fplVersionNumberPart[FPL_MAX_VERSION_PART_LENGTH+1]
A type definition for mapping a part of a version number.

Functions

Type Name
fpl_platform_api bool fplOSGetVersionInfos (fplOSVersionInfos *outInfos)
Gets version information from the operating system.

Detailed Description

This category contains functions for retrieving several operating system information such as version, name, etc.

Macro Definition Documentation

FPL_MAX_VERSION_PART_LENGTH

#define FPL_MAX_VERSION_PART_LENGTH

Maximum number of digits in a single version-number part (excluding NUL).

Definition at line 5456 of file final_platform_layer.h.

Typedef Documentation

fplVersionNumberPart

typedef char fplVersionNumberPart[FPL_MAX_VERSION_PART_LENGTH+1]

A type definition for mapping a part of a version number.

Definition at line 5462 of file final_platform_layer.h.

Function Documentation

fplOSGetVersionInfos()

fpl_platform_api bool fplOSGetVersionInfos ( fplOSVersionInfos * outInfos)

Gets version information from the operating system.

Parameters

Direction Parameter Description
[out] outInfos Reference to the target structure fplOSVersionInfos.

Returns: Returns true when the information could be retrieved, false otherwise.

Note: This may be called without initializing the platform.

See also: Query OS Version, Kernel, Distribution etc.

Final Platform Layer

Pages

Topics

Data Structures

Clone this wiki locally