diff options
author | rsc <rsc> | 2007-08-08 08:38:55 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-08 08:38:55 +0000 |
commit | 349ee132f0c7060ad04c5667da24d8cb40654be8 (patch) | |
tree | 84813d17068b36ecf2169e698020dc9e17c88919 /zombie.c | |
parent | a7d18bb6f081e1520af7eeed4e3a633aafc81124 (diff) | |
download | xv6-labs-349ee132f0c7060ad04c5667da24d8cb40654be8.tar.gz xv6-labs-349ee132f0c7060ad04c5667da24d8cb40654be8.tar.bz2 xv6-labs-349ee132f0c7060ad04c5667da24d8cb40654be8.zip |
add zombie program
Diffstat (limited to 'zombie.c')
-rw-r--r-- | zombie.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zombie.c b/zombie.c new file mode 100644 index 0000000..0f3b4a3 --- /dev/null +++ b/zombie.c @@ -0,0 +1,12 @@ +// Create a zombie process. + +#include "types.h" +#include "stat.h" +#include "user.h" + +int +main(void) +{ + fork(); + exit(); +} |