|
libicuid
1.4.1
|
#include <errno.h>#include <limits.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <icuid/icuid.h>#include <internal/stdcompat.h>#include "features.h"#include "intel.h"#include "amd.h"Functions | |
| int | cpuid_get_raw_data (cpuid_raw_data_t *raw) |
| Obtains the raw CPUID info from the CPU. More... | |
| int | cpuid_serialize_raw_data (cpuid_raw_data_t *raw, const char *file) |
| Writes the raw CPUID info to a file or stdout. More... | |
| int | cpuid_deserialize_raw_data (cpuid_raw_data_t *raw, const char *file) |
| Reads the raw CPUID info to a file or stdin. More... | |
| int | icuid_identify (cpuid_raw_data_t *raw, cpuid_data_t *data) |
| Identifies the CPU. More... | |
| int cpuid_deserialize_raw_data | ( | cpuid_raw_data_t * | raw, |
| const char * | file | ||
| ) |
Reads the raw CPUID info to a file or stdin.
| raw | [in] - a pointer to a cpuid_raw_data_t structure |
| file | [in] - the path to the file, where the serialized raw data should be read from. If empty, stdin will be used instead. |
| int cpuid_get_raw_data | ( | cpuid_raw_data_t * | raw | ) |
Obtains the raw CPUID info from the CPU.
| raw | [in] - a pointer to a cpuid_raw_data_t structure |
| int cpuid_serialize_raw_data | ( | cpuid_raw_data_t * | raw, |
| const char * | file | ||
| ) |
Writes the raw CPUID info to a file or stdout.
| raw | [in] - a pointer to a cpuid_raw_data_t structure |
| file | [in] - the path to the file, where the serialized raw data should be written. If empty, stdout will be used instead. |
| int icuid_identify | ( | cpuid_raw_data_t * | raw, |
| cpuid_data_t * | data | ||
| ) |
Identifies the CPU.
| raw | [in] - a pointer to the raw CPUID data, which is obtained by cpuid_get_raw_data or by passing NULL, in which case the function calls cpuid_get_raw_data itself. |
| data | [out] - the decoded CPU information |
1.8.11