/** * CPU ID getting on x86 architecture * * @file platon/cpu/x86cpuid.h * @author Ondrej Jombik * @version \$Platon: libplaton/platon/cpu/x86cpuid.h,v 1.6 2003-04-23 19:28:35 nepto Exp $ * @date 2002-2003 [created: 19/4/2002] */ #ifndef _PLATON_MISC_X86CPUID_H #define _PLATON_MISC_X86CPUID_H #ifdef __cplusplus extern "C" { #endif /** * Gets x86 CPU ID * * @return dynamically allocated string with x86 CPU ID * or NULL on not enough memory error * * Returned string needs to be unallocated from memory by free() syscall. */ char *x86cpuid(void); #ifdef __cplusplus } #endif #endif /* ifndef _PLATON_MISC_X86CPUID_H */