PKUOS - Pintos
Pintos source browser for PKU Operating System course
halt.c
Go to the documentation of this file.
1/** halt.c
2
3 Simple program to test whether running a user program works.
4
5 Just invokes a system call that shuts down the OS. */
6
7#include <syscall.h>
8
9int
10main (void)
11{
12 halt ();
13 /* not reached */
14}
int main(void)
halt.c
Definition: halt.c:10
void halt(void)
Projects 2 and later.
Definition: syscall.c:65