1 2 3 4 5 6 7 8 9 10 11 12
// Create a zombie process. #include "types.h" #include "stat.h" #include "user.h" int main(void) { fork(); exit(); }