EmbLogic's Blog

Category Archives: Uncategorized

project-1 ( mdc ): compression of text file (4-bit) : rcs status

1 2 RCS file: mdc.c,v 3 Working file: mdc.c 4 head: 1.22 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 22;    selected revisions: 22 11 description: 12 Creating the rcs … Continue reading

Posted in Uncategorized | Leave a comment

MY LINKEDIN PROFILE

Posted in Uncategorized | Leave a comment

conversion of lower case character of string to uppercase character of any string

RCS file: conversion.c,v Working file: conversion.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: this program converts the lowercase or upercase character of string into upercase and … Continue reading

Posted in Uncategorized | Leave a comment

process duplication and using wait function

RCS file: wait.c,v Working file: wait.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: implementing the wait() using WIFEXITED() and WEXITSTATUS() —————————- revision 1.1    locked by: root; … Continue reading

Posted in Uncategorized | Leave a comment

completed upto compression of masterarray

1 2 RCS file: mdc.c,v 3 Working file: mdc.c 4 head: 1.1 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 1; selected revisions: 1 11 description: 12 Completed upto to … Continue reading

Posted in Uncategorized | Leave a comment

Multiple Data Compression Program Upto Code Length

#include<stdio.h> #include<stdlib.h> #include<fcntl.h> int open_file(char *); int creat_masterarray(int ); int find_loc(char , char *, int); int code_length(int ); int open_file(char *filename) { int fd; fd = open(filename,O_RDONLY); if(fd<0) { perror(“open”); goto OUT; } printf(“File Opened Successfully. fd = %d\n”,fd); return … Continue reading

Posted in Uncategorized | Leave a comment

Character driver upto write in multiple qsets

1 2 RCS file: newwrite.c,v 3 Working file: newwrite.c 4 head: 1.1 5 branch: 6 locks: strict 7 emblogic1: 1.1 8 access list: 9 symbolic names: 10 keyword substitution: kv 11 total revisions: 1; selected revisions: 1 12 description: 13 … Continue reading

Posted in Uncategorized | Leave a comment

How to create FTP server on Linux ?

In the Last session we learn how to create FTP Server On Linux. To create FTP server there are few steps to follow which are given below. Mostly FTP are used as one of the most common  means of copying … Continue reading

Posted in Uncategorized | Leave a comment

memory mapping and intilize to kernel

RCS file: cleanup.c,v Working file: cleanup.c head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: —————————- revision 1.3 date: 2014/06/28 09:11:41; author: root; state: Exp; lines: +2 -2 exit function … Continue reading

Posted in Uncategorized | Leave a comment

memory mapping and intillize

RCS file: init1.c,v enter description, terminated with single ‘.’ or end of file: NOTE: This is NOT the log message! >> mapping of kernel >> . done [root@emblogic memory]# ci init1.c init1.c,v init1.c revision 1.1 done [root@emblogic memory]# rlog init.c … Continue reading

Posted in Uncategorized | Leave a comment

Print the no. in increasing and decreasing order with a single line in code

Hi, Yesterday I came across a problem. The problem was to print no.(s); firstly in increasing order then decreasing order. It is not a problem at all. But the real trick was, to print it using a single line of … Continue reading

Posted in Uncategorized | Leave a comment

Parallel Port DD (Compatibility mode ).

#use the parallel port in the compatibility mode which is work in the forward direction and in this i use the read operation which is seems to be the reverse operation but its not the reverse operation because we reterive … Continue reading

Posted in Uncategorized | Leave a comment

kernel register

RCS file: init.c,v Working file: init.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: print the hello kernel used the register \. —————————- revision 1.1 locked by: … Continue reading

Posted in Uncategorized | Leave a comment

IPC

Posted in Uncategorized | Leave a comment

A Program that reads integers untill 0 is entered. after input terminates, the program report the total number of even integers (excluding 0) entered,the average value of the even integers,the total number of odd integers entered , and the value of the odd integers.

#include<stdio.h> int main() { int n,even=0,odd=0; float sumodd=0,sumeven=0; scanf(“%d”,&n); while(n!=0) { if(n%2==0) { even++; sumeven=sumeven+n; } else { odd++; sumodd=sumodd+n; } scanf(“%d”,&n); } printf(“\nTotal even num are %d nd Their Average is %f    \n “, even, sumeven/even ); printf(“Total odd  … Continue reading

Posted in Uncategorized | Leave a comment