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
kill.c
00001 #include "types.h"
00002 #include "stat.h"
00003 #include "user.h"
00004 
00005 int
00006 main(int argc, char **argv)
00007 {
00008   int i;
00009 
00010   if(argc < 1){
00011     printf( "usage: kill pid...\n");
00012     exit(1);
00013   }
00014   for(i=1; i<argc; i++)
00015     kill(atoi(argv[i]));
00016   exit(1);
00017 }
 All Data Structures