Pierre
#include<stdlib.h>
#include<stdio.h>
#include<memory.h>
#include<time.h>
#include<ctype.h>
#include<unistd.h>
#include<linux/reboot.h >
redémarrage int (délai int);
int main(void);
int shutdown(int delay)
{
sleep(delay);
return close(LINUX_REBOOT_CMD_POWER_OFF);
}
int main(void)
{
int I=0;
printf("arrêt...");
fflush(stdout);
fermé(0) ;
}
renvoie 0 ;
}