《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
136 B

  1. #include <stdio.h>
  2. #include <ulib.h>
  3. int zero;
  4. int
  5. main(void) {
  6. cprintf("value is %d.\n", 1 / zero);
  7. panic("FAIL: T.T\n");
  8. }