aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/halt.c
blob: bad7250772f2856db66dd455231705483e27bb67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* halt.c

   Simple program to test whether running a user program works.
 	
   Just invokes a system call that shuts down the OS. */

#include <syscall.h>

int
main (void)
{
  halt ();
  /* not reached */
}