mirror of
https://github.com/anrieff/libcpuid
synced 2025-10-13 11:10:39 +00:00
* Support for stdin/stdout for (de)serializing cpu_raw_data_t;
* set_warn_function renamed to cpuid_set_warn_function; * Updated Doxygen documentation: added manpage output, generic mainpage intro, default module named correctly; * Updated doxy libcpuid.h documentation, fixed some bugs; * Warnings are now printed to stderr by default, not stdout; * Some constants in AMD code did not reflected their meaning well, fixed; * The cpuid_tool utility thoroughly redesigned; now a multiple-function program, perhaps close to the finalized state. git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@19 3b4be424-7ac5-41d7-8526-f4ddcb85d872
This commit is contained in:
parent
5c348fd6bd
commit
c5c0539372
7 changed files with 638 additions and 99 deletions
|
@ -41,7 +41,7 @@ void match_features(const struct feature_map_t* matchtable, int count, uint32_t
|
|||
|
||||
static void default_warn(const char *msg)
|
||||
{
|
||||
printf("%s", msg);
|
||||
fprintf(stderr, "%s", msg);
|
||||
}
|
||||
|
||||
libcpuid_warn_fn_t _warn_fun = default_warn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue