EmbLogic's Blog

Category Archives: Uncategorized

function pointer

we cannot define a function into a structure, but we can define a function pointer in structure.

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

timing interrupts

the Linux kernel, clocks “tick” slightly different by than they do in the real world. The time does not progress continually, but in increments of 10 ms (milliseconds) each, which is called a tick. This means that the time virtually … Continue reading →

Posted in Uncategorized | Leave a comment

RCS

Name : rcs Product : Fedora 19 Version : 5.9.0 Release : 1.fc19 URL : http://www.gnu.org/software/rcs/ Summary : Revision Control System (RCS) file version management tools Description : The Revision Control System (RCS) is a system for managing multiple versions … Continue reading →

Posted in Uncategorized | Leave a comment

linklist

The following code inserts a node after an existing node in a singly linked list. The diagram shows how it works. Inserting a node before an existing one cannot be done directly; instead, one must keep track of the previous … Continue reading →

Posted in Uncategorized | Leave a comment

masterarray

masterarray created sucessfully

Posted in Uncategorized | Leave a comment

ipc

RCS file: server.c,v Working file: server.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: make the server for a requesting client —————————- revision 1.2 locked by: root; … Continue reading →

Posted in Uncategorized | Leave a comment

ipc

RCS file: server.c,v Working file: server.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: make the server for a requesting client —————————- revision 1.2 locked by: root; … Continue reading →

Posted in Uncategorized | Leave a comment

linklist

In computer science, a linked list is a data structure consisting of a group of nodes which together represent a sequence. Under the simplest form, each node is composed of a datum and a reference (in other words, a link) … Continue reading →

Posted in Uncategorized | Leave a comment

functions and command line arguments.

Functions : Functions are easy to use; they allow complicated programs to be parcelled up into small blocks, each of which is easier to write, read, and maintain. We have already encountered the function main and made use of I/O … Continue reading →

Posted in Uncategorized | Leave a comment

program of linked list

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 →

Posted in Uncategorized | Leave a comment

ipc using pipe

head 1.2; access; symbols; locks arjun:1.2; strict; comment @ * @; 1.2 date 2014.03.25.08.06.10; author arjun; state Exp; branches; next 1.1; 1.1 date 2014.03.25.05.16.16; author arjun; state Exp; branches; next ; desc @we are using 2 pipe for requesting client … Continue reading →

Posted in Uncategorized | Leave a comment

ipc server using pipe

head 1.2; access; symbols; locks poonam:1.2; strict; comment @ * @; 1.2 date 2014.03.25.05.06.08; author poonam; state Exp; branches; next 1.1; 1.1 date 2014.03.25.02.12.49; author poonam; state Exp; branches; next ; desc @implemented server with three requesting client and three … Continue reading →

Posted in Uncategorized | Leave a comment

linklist

RCS file: linklist.c,v Working file: linklist.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: implement linklist using menu options —————————- revision 1.1 locked by: root; date: 2011/04/21 … Continue reading →

Posted in Uncategorized | Leave a comment

Arrays

An array is a collection of data items, all of the same type, accessed using a common name. A one-dimensional array is like a list; A two dimensional array is like a table; The C language places no limits on … Continue reading →

Posted in Uncategorized | Leave a comment

enter a string and compress with the help of masterarray

head    1.1; access; symbols; locks; strict; comment    @ * @; 1.1 date    2014.03.23.21.53.35;    author root;    state Exp; branches; next    ; desc @master array with compression @ 1.1 log @Initial revision @ text @#include<stdio.h> #include<string.h> #include<fcntl.h> int main() { int i=0,j,len,maslen=1,fd,ret; … Continue reading →

Posted in Uncategorized | Leave a comment