Initial Upload

This commit is contained in:
iDunnoDev
2022-12-06 11:49:47 +00:00
committed by iDunnoDev
commit 0ee33aaa97
274 changed files with 60109 additions and 0 deletions

13
zombie.c Normal file
View File

@ -0,0 +1,13 @@
// Create a zombie process that
// must be reparented at exit.
#include "types.h"
#include "stat.h"
#include "user.h"
int main(void) {
if (fork() > 0) {
sleep(5); // Let child exit before parent.
}
exit();
}