CS318 - Pintos
Pintos source browser for JHU CS318 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 
9 int
10 main (void)
11 {
12  halt ();
13  /* not reached */
14 }
halt
void halt(void)
Projects 2 and later.
Definition: syscall.c:65
main
int main(void)
halt.c
Definition: halt.c:10