Displays the system configuration information.
#include <systemcfg.h>
uint64_t kgetsystemcfg ( int name)
Displays the system configuration information.
Item | Description |
---|---|
name | Specifies the system variable setting to be returned. Valid values for the name parameter are defined in the systemcfg.h file. |
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.
The kgetsystemcfg subroutine will fail if:
Item | Description |
---|---|
EINVAL | The value of the name parameter is invalid. |