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
ln.c
00001 #include "types.h"
00002 #include "stat.h"
00003 #include "user.h"
00004 
00005 int
00006 main(int argc, char *argv[])
00007 {
00008   if(argc != 3){
00009     printf( "Usage: ln old new\n");
00010     exit(1);
00011   }
00012   if(link(argv[1], argv[2]) < 0)
00013     printf( "link %s %s: failed\n", argv[1], argv[2]);
00014   exit(1);
00015 }
 All Data Structures