1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-03-10 07:09:10 +05:30

cpuid_vendor_id.mod.c: make use of EXIT_SUCCESS

This commit is contained in:
パチュリー・ノーレッジ 2025-03-09 17:32:04 +03:00
parent 11d2cf6be4
commit 58025bc364
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -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;
} }