|
zoslib
z/OS C/C++ Library
|
#include "zos-sys-info.h"#include <assert.h>#include <stdio.h>#include <string.h>#include <unistd.h>Functions | |
| int | __get_num_online_cpus (void) |
| int | __get_num_frames (void) |
| oslvl_t | __get_os_level (void) |
| bool | __is_os_level_at_or_above (oslvl_t level) |
| bool | __is_stfle_available () |
| bool | __is_vxf_available () |
| bool | __is_vef1_available () |
| char * | __get_cpu_model (char *buffer, size_t size) |
| char * __get_cpu_model | ( | char * | buffer, |
| size_t | size | ||
| ) |
Gets the 4 character CPU model of the system, including the null terminating character. Truncated if buffer size is too small.
| buffer | pointer to the buffer where the cpu model is to be stored |
| size | the size of the buffer |
| int __get_num_frames | ( | void | ) |
Get the number of frames currently available to the system
| int __get_num_online_cpus | ( | void | ) |
Get the number of online CPUs
| oslvl_t __get_os_level | ( | void | ) |
Get the OS level
| bool __is_os_level_at_or_above | ( | oslvl_t | level | ) |
Check if current OS is at or above a given level
| bool __is_stfle_available | ( | ) |
Check if STFLE (STORE FACILITY LIST EXTENDED) instruction is available
| bool __is_vef1_available | ( | ) |
Check if the current z arch includes Vector Enhancements Facility 1
| bool __is_vxf_available | ( | ) |
Check if the current z arch includes Vector Extension Facility