programming-examples/c/Basic/C Program to Shutdown or Turn Off the Computer in Linux.c
2019-11-18 14:44:36 +01:00

10 lines
155 B
C

/*
* C Program to Shutdown or Turn Off the Computer in Linux.
*/
#include <stdio.h>
int main()
{
system("shutdown -P now");
return 0;
}