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
 All Data Structures
03_struct.c
00001 #include <stdio.h>
00002 
00003 struct fred
00004 {
00005     int boris;
00006     int natasha;
00007 };
00008 
00009 struct fred bloggs;
00010 
00011 bloggs.boris = 12;
00012 bloggs.natasha = 34;
00013 
00014 printf("%d\n", bloggs.boris);
00015 printf("%d\n", bloggs.natasha);
00016 
00017 //struct fred jones[2];
00018 //jones[0].boris = 12;
00019 //jones[0].natasha = 34;
00020 
00021 void main() {}
 All Data Structures