programming-examples/c/_Basic/C Program to Shutdown or Turn Off the Computer in Linux.c
2019-11-15 12:59:38 +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;
}