kgetsystemcfg Kernel Service
Purpose
Displays the system configuration information.
Syntax
#include <systemcfg.h>
uint64_t kgetsystemcfg ( 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 kgetsystemcfg kernel service returns the data that is associated with the structure member represented by the input parameter. Otherwise, the kgetsystemcfg kernel service will return UINT64_MAX, and the errno will be set.
Error Codes
The kgetsystemcfg subroutine will fail if:
Item | Description |
---|---|
EINVAL | The value of the name parameter is invalid. |