Search Results

Search: Posts Made By: galapogos
Forum: Programming 01-07-2009
12,395
Posted By galapogos
Thanks. I looked at the linux/reboot.h header...
Thanks. I looked at the linux/reboot.h header file and indeed there's no reboot definition. However the sys/reboot.h header file holds the definition so I've included that as well and now it works.
Forum: Programming 01-07-2009
12,395
Posted By galapogos
implicit declaration of function 'reboot'
Hi,
I'm tying to use the following function to reboot the system as part of my code

#include <unistd.h>
#include <linux/reboot.h>
int restart(unsigned int delay)
{
sleep(delay);
return...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 11:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy