halt - * * Just calls reboot() with the RB_HALT flag. */...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <unistd.h> /* * halt - shut down system, do not reboot, do not turn off power. * Usage: halt
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: * * Just calls reboot() with the RB_HALT flag. */ int main() { reboot(RB_HALT); return 0; }...
View Full Document

This note was uploaded on 11/10/2009 for the course CS 536 taught by Professor Lums during the Spring '09 term at Indiana.

Ask a homework question - tutors are online