Shutdown computer, how operating systems achieve it? (C Kernel development)
15:31 13 May 2020

I've been developing an OS lately in C. But how can I shutdown the computer? By saying 'shutdown the computer', I mean a force shutdown.

How can I do that in C kernel development?
Any help would be appreciated.

c operating-system kernel system-shutdown