Files
pintos_22/src/examples/halt.c
2024-10-01 23:37:39 +01:00

15 lines
209 B
C

/* 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 */
}