Skip to content

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

License

Notifications You must be signed in to change notification settings

BaseMax/OSDetect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages