Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 328 Bytes

File metadata and controls

18 lines (16 loc) · 328 Bytes

libcomputeron

Check if the computer is on, because of course you need to check if the device the code is running on is powered on, right?

Usage

Download header file

#include <stdio.h>
#include "computer_on.h"

int main() {
	if (computer_on() == 1) {
		printf("Computer is on!\n");
		return 0;
	}
}

???
Profit