EmbLogic's Blog

Author Archives: deepak.jain

Program to show how parent and child processes communicate via a shared memory IPC mechanism

RCS file: simple_shared.c,v Working file: simple_shared.c head: 1.11 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 11;    selected revisions: 11 description: Implementation of IPC mechanism:Shared memory. Child process is created using fork(). Shared memory segment is … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Implementation of signal and wait operation on a semaphore

RCS file: signalandwait.c,v Working file: signalandwait.c head: 1.6 branch: locks: strict root: 1.6 access list: symbolic names: keyword substitution: kv total revisions: 6;    selected revisions: 6 description: Implementing wait and signal operation in a program. —————————- revision 1.6    locked by: … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Uncategorized | Leave a comment

Getting,initializing,retrieving and releasing the semaphore..

RCS file: semaphore_example.c,v Working file: semaphore_example.c head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5;    selected revisions: 5 description: This is the main program to understand the working of semaphore. Initially only … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Appending a linked list at the end of another linked list in C

RCS file: append_list.c,v Working file: append_list.c head: 1.17 branch: locks: strict root: 1.17 access list: symbolic names: keyword substitution: kv total revisions: 17;    selected revisions: 17 description: Program that appends a linked list to another linked list. —————————- revision 1.17   … Continue reading

Posted in Data Structures with C | Leave a comment

Sorting of values in the linked list in C language.

RCS file: Sorting_linked_list.c,v Working file: Sorting_linked_list.c head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5;    selected revisions: 5 description: Program to sort the info. in the linked list. Main menu is prepared … Continue reading

Posted in Data Structures with C | Leave a comment

Program to count the number of nodes in the singly linked list in C

RCS file: countnodes.c,v Working file: countnodes.c head: 1.6 branch: locks: strict root: 1.6 access list: symbolic names: keyword substitution: kv total revisions: 6;    selected revisions: 6 description: Count the total number of nodes in the linked list. —————————- revision 1.6   … Continue reading

Posted in Data Structures with C | Leave a comment

Reversing a Linked list using four pointers in C Language

RCS file: reverse_linked_list.c,v Working file: reverse_linked_list.c head: 1.16 branch: locks: strict root: 1.16 access list: symbolic names: keyword substitution: kv total revisions: 16;    selected revisions: 16 description: Program for reverse of a linked list in C language. —————————- revision 1.16   … Continue reading

Posted in Data Structures with C | Leave a comment

Stack implementation using an array.

RCS file: stack_using_array.c,v Working file: stack_using_array.c head: 1.9 branch: locks: strict root: 1.9 access list: symbolic names: keyword substitution: kv total revisions: 9;    selected revisions: 9 description: Stack implementation using array…. MAIN MENU is prepared for the user. —————————- revision … Continue reading

Posted in Data Structures with C | Leave a comment

Server process handling the requests of a single Client using pipes.

RCS file: requesting_client.c,v Working file: requesting_client.c head: 1.6 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 6;    selected revisions: 6 description: Requesting clients enter their data here. Data includes the two operands and one operator. —————————- … Continue reading

Posted in Uncategorized | Leave a comment

Catching signals SIGINT and SIGQUIT using system handler.

RCS file: SIGINTsignal.c,v Working file: SIGINTsignal.c head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5;    selected revisions: 5 description: Program to understand the functionality of signal. In this program,signal is received and … Continue reading

Posted in Uncategorized | Leave a comment

queue implementation using an array in C

RCS file: queue_using_array.c,v Working file: queue_using_array.c head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: Queue implementation using arrays is done successfully. Different functions are made for inserting … Continue reading

Posted in Data Structures with C | Leave a comment

Linked list implementation….

RCS file: linked_list.c,v Working file: linked_list.c head: 1.7 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 7; selected revisions: 7 description: linked list creation is done successfully. The number of nodes in the linked list is … Continue reading

Posted in Data Structures with C | Leave a comment

Stack implementation using Linked lists

RCS file: stack_using_linked_list.c,v Working file: stack_using_linked_list.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: Implementing stack using linked list. Push,pop and display operations are implemented using functions. … Continue reading

Posted in Data Structures with C | Leave a comment