Diff for libplaton/platon/cpu/x86cpuid.h between version 1.1 and 1.2
| version 1.1, 2002/04/19 01:14:04 |
version 1.2, 2002/09/19 23:18:00 |
|
|
| #ifndef _PLATON_UTILS_X86CPUID_H |
/** |
| #define _PLATON_UTILS_X86CPUID_H |
* @file misc/x86cpuid.h |
| |
* @brief CPU ID getting on x86 architecture |
| |
* @author Ondrej Jombik <nepto@pobox.sk> |
| |
* @version \$Id$ |
| |
* @date 2001-2002 [created: 19/4/2002] |
| |
*/ |
| |
|
| /* (c) 2002 Ondrej Jombik <nepto@pobox.sk> [19/4/2002] */ |
#ifndef _PLATON_MISC_X86CPUID_H |
| |
#define _PLATON_MISC_X86CPUID_H |
| |
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" { |
extern "C" { |
| #endif |
#endif |
| |
|
| /* |
/** |
| * get_x86cpuid() |
* Gets x86 CPU ID |
| * |
* |
| * Returns dynamically allocated string with x86 CPU ID. That string |
* @return dynamically allocated string with x86 CPU ID |
| * needs to be unallocated from memory by free() syscall. On error |
* or NULL on not enough memory error |
| * returns NULL. |
* |
| |
* Returned string needs to be unallocated from memory by free() syscall. |
| */ |
*/ |
| char *get_x86cpuid(void); |
char *x86cpuid(void); |
| |
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| } |
} |
| #endif |
#endif |
| |
|
| #endif /* ifndef _PLATON_UTILS_X86CPUID_H */ |
#endif /* ifndef _PLATON_MISC_X86CPUID_H */ |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|