linux 编写CGI程序实现VM重启

来源:互联网 发布:大数据大会1114 编辑:程序博客网 时间:2024/06/16 00:59
 

#include <stdio.h>

#include <string.h>

#include <stdlib.h>

main()

{

 printf ("Contenttype:text/html\n\n");

system("/sbin/reboot");

}

原创粉丝点击