The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.00
seconds.
Search:
Posts Made By:
galapogos
Forum:
Programming
01-07-2009
2
implicit declaration of function 'reboot'
12,466
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
2
implicit declaration of function 'reboot'
12,466
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
Member Badges and Information Modal
×