getsystemcfg Subroutine

Purpose

Displays the system configuration information.

Syntax

#include <systemcfg.h>
uint64_t getsystemcfg ( int name)

Description

Displays the system configuration information.

Parameters

Item Description
name

Specifies the system variable setting to be returned. Valid values for the name parameter are defined in the systemcfg.h file.

Return Values

If the value specified by the name parameter is system-defined, the getsystemcfg subroutine returns the data that is associated with the structure member represented by the input parameter. Otherwise, the getsystemcfg subroutine will return UINT64_MAX, and errno will be set.

Error Codes

The getsystemcfg subroutine will fail if:

Item Description
EINVAL

The value of the name parameter is invalid.