EmbLogic's Blog

Author Archives: Ankur Garg

CIient Server using IPC for FIFO,Pipes and Signals for n clients

RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: It includes basic headerfiles for FIFOs. It contains stdio.h, fcntl.h, unistd.h, sys/types.h, sys/stat.h … Continue reading

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

Client Server communication in IPC using FIFO for 3 clients

Logfile of Project ——————————– ——————————– RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: It includes basic headerfiles for FIFOs. It contains … Continue reading

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

Client Server Communication using FIFO for single server and a client when result FIFO created by client

Logfile of Project ———————————— ———————————— RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: It contains basic header files for communication using … Continue reading

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

IPC using FIFO for single server and a client when both FIFO(result and request) created by server

RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: It contains basic header files for communication using FIFO. —————————- revision 1.2    locked … Continue reading

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

PID, PPID and NICE value of a process

PCB (Process Control Board) ———————————- Every Process has its Process Control Board(PCB) which tells about the process. PCB contains PID,PPID,PC(program counter),nice value of process. PID :- * PID is Process Identification of any process. * It is a number . … Continue reading

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

IPC using Pipes for single user

RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: stdio.h , fcntl.h, unistd.h, sys/types.h are included. —————————- revision 1.2    locked by: root; … Continue reading

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

Quick Sort using recursion

//Quick sorting using Recursion #include<stdio.h> #include<stdlib.h> //Prototypes of functions used int * input(int *,int); int * sort(int *,int); void display(int*,int); int main() { int *a,n; printf(“Enter number of numbers you want to sort?\n”); scanf(“%d”,&n); a = input(a,n); a = sort(a,n);//call … Continue reading

Posted in Data Structures with C | Tagged , , , , | Leave a comment

Bubble sorting using recursion

#include<stdio.h> #include<stdlib.h> int * input(int *,int); int * sort(int *,int); void display(int*,int); int main() { int *a,n,i,j,c,temp; printf(“Enter number of numbers you want to sort?\n”); scanf(“%d”,&n); a = input(a,n); a = sort(a,n); display(a,n); } int * input(int *a,int n) { … Continue reading

Posted in Data Structures with C | Tagged , , , , | Leave a comment

multiple data decompression for codelength 4

RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: All required headers are included. —————————- revision 1.1    locked by: root; date: 2015/07/08 … Continue reading

Posted in Data Structures with C | Tagged , , , | Leave a comment

Multiple data compression for code length 4

RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict emblogic: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: It contains all headers and prototypes of all functions. —————————- revision 1.2    locked … Continue reading

Posted in Data Structures with C | Tagged , , | Leave a comment

logfile for mdc till 25 june 2015

RCS file: mdc.c,v 3 Working file: mdc.c 4 head: 1.5 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 5;     selected revisions: 5 11 description: 12 Unique array and codelength areprinted … Continue reading

Posted in Data Structures with C | Leave a comment