Shared memory allows one or more processes to communicate via memory that appears in all of their virtual address spaces. The pages of the virtual memory is referenced by page table entries in each of the sharing processes’ page tables. … Continue reading
@this a program for simple queue to push pop and display the elements of the queue @ 1.1 log @Initial revision @ text @#include”header.h” int main() { void *queue; int f,r; f=r=-1; int ch; do { printf(“1:push\n”); printf(“2:pop\n”); printf(“3:display\n”); printf(“4:exit\n”); … Continue reading
#include #include #include struct node { int a; struct node *next; }; struct node * create_ll(); void display(struct node *); void rev(struct node *); int main() { struct node *start ,*temp,*temp1; int i,n; start=create_ll(); temp=start; printf(“enter node\n”); scanf(“%d”,&n); for(i = … Continue reading
head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.29.11.10.17; author emblogic; state Exp; branches; next ; desc @this is a program of stack implementation using poimters @ 1.1 log @Initial revision @ text @#include”header.h” int main() … Continue reading
head 1.1; access; symbols; locks Emblogic:1.1; strict; comment @ * @; 1.1 date 2014.03.25.09.08.55; author Emblogic; state Exp; branches; next ; desc @this is a program of linked list to insert the node at beginning,position and end to delete the … Continue reading
Most processors require specific memory alignment on variables certain types. Normally the minimum alignment is the size of the basic type in question, fo instance this is common char variables can be byte aligned and appear at any byte … Continue reading
RCS file: 8p7.c,v Working file: 8p7.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: this is a program to copy the contents of one file to another —————————- revision … Continue reading
RCS file: 8p4.c,v Working file: 8p4.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: this is a program to convert the contents of a file into upper case and … Continue reading
RCS file: 8p3.c,v Working file: 8p3.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: this is a program to check if two files are same or not by comparing … Continue reading
—————————- revision 1.1 date: 2014/03/19 22:12:05; author: emblogic; state: Exp; Initial revision =============================================================================
—————————- revision 1.1 date: 2014/03/19 21:16:30; author: emblogic; state: Exp; Initial revision
—————————- revision 1.1 date: 2014/03/19 21:16:30; author: emblogic; state: Exp; Initial revision
—————————- revision 1.1 date: 2014/03/19 21:16:30; author: emblogic; state: Exp; Initial revision
>> this is the program using pointers >> in which we count the positive no.s in array and exit when zero is found >> there must b atleast one zero in the array >> . initial revision: 1.1 done [root@localhost … Continue reading
>> this is a program to print the first byte of each element from an integer array >> using pointers >> . initial revision: 1.1 done [root@localhost puja]# rlog vim 7p7.c,v rlog: RCS/vim,v: No such file or directory RCS file: … Continue reading