Xv6 with picoc & Linkage editor  v1.0
The project delineate mutual cohesion between c library, linkage editor ( linker), interpreter and operating system by porting the same on xv6 kernel
zombie.c
00001 // Create a zombie process that 
00002 // must be reparented at exit.
00003 
00004 #include "types.h"
00005 #include "stat.h"
00006 #include "user.h"
00007 
00008 int
00009 main(void)
00010 {
00011   if(fork() > 0)
00012     sleep(5);  // Let child exit before parent.
00013   exit(1);
00014 }
 All Data Structures