PKUOS - Pintos
Pintos source browser for PKU Operating System course
halt.c
Go to the documentation of this file.
1/** Tests the halt system call. */
2
3#include "tests/lib.h"
4#include "tests/main.h"
5
6void
7test_main (void)
8{
9 halt ();
10 fail ("should have halted");
11}
void halt(void)
Projects 2 and later.
Definition: syscall.c:65
void fail(const char *format,...)
Definition: lib.c:40
void test_main(void)
Tests the halt system call.
Definition: halt.c:7