mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-03-10 16:19:10 +05:30
cpuid_vendor_id.mod.c: make use of EXIT_SUCCESS
This commit is contained in:
parent
11d2cf6be4
commit
58025bc364
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# include <intrin.h> // __cpuid()
|
# include <intrin.h> // __cpuid()
|
||||||
@ -83,5 +84,5 @@ int main(void) {
|
|||||||
fputs("CPU Vendor ID: '", stdout);
|
fputs("CPU Vendor ID: '", stdout);
|
||||||
fwrite(vendor_string, sizeof(char), 12, stdout);
|
fwrite(vendor_string, sizeof(char), 12, stdout);
|
||||||
fputs("'\n", stdout);
|
fputs("'\n", stdout);
|
||||||
return 0;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user