BaseMax / OSDetect

A tiny header file for detects the operating system in C based program.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OS (Operation System) Detect

A tiny header file for detects the operating system in C based program.

Example

#include <stdio.h>

const char *OS();

int main() {
	printf("==>%s\n", OS());
	return 0;
}

Compile

gcc test.c source/osdetect.c -o test

About

A tiny header file for detects the operating system in C based program.

License:GNU General Public License v3.0


Languages

Language:C 100.0%