EmbLogic's Blog

Author Archives: raushan.wxy

implement own driver

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.20.12.16.30;    author root;    state Exp; branches; next    ; desc @own driver . @ 1.1 log @Initial revision @ text @#include”header.h” static int initialization_fun(void) { printk(KERN_INFO”hello kernel”); return … Continue reading

Posted in Uncategorized | Leave a comment

tcp/ip protocol project imlement using socket

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.17.10.36.05;    author root;    state Exp; branches; next    ; desc @creat reqclient for socket. @ 1.1 log @Initial revision @head    1.1; access; symbols; locks root:1.1; strict; comment    @ … Continue reading

Posted in Uncategorized | Leave a comment

implement threads using single client program

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.13.07.23.51;    author root;    state Exp; branches; next    ; desc @client of threads. @ 1.1 log @Initial revision @ texthead    1.1; access; symbols; locks root:1.1; strict; comment    @ … Continue reading

Posted in Uncategorized | Leave a comment

program of threads and checking load of processor

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.07.07.30.30;    author root;    state Exp; branches; next    ; desc @simple program of thread. @ 1.1 log @Initial revision @

Posted in Uncategorized | Leave a comment

message queue impliment for one client

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.05.20.09.09.51;    author root;    state Exp; branches; next    ; desc @message rcv for comm.. @ 1.1 log @Initial revision @ text head    1.1; access; symbols; locks root:1.1; strict; … Continue reading

Posted in Uncategorized | Leave a comment

program for semaphore

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.05.17.07.43.53;    author root;    state Exp; branches; next    ; desc @the program of semafore . @ 1.1 log @Initial revision @ text @#include<stdio.h> #include<linux/sem.h> #include<stdlib.h> int main() { … Continue reading

Posted in Uncategorized | Leave a comment

fifo server for three reqclient and three prosessing client program using three fifo

head    1.2; access; symbols; locks root:1.2; strict; comment    @ * @; 1.2 date    2014.05.15.11.19.59;    author root;    state Exp; branches; next    1.1; 1.1 date    2014.05.14.09.42.00;    author root;    state Exp; branches; next    ; desc @server iof fifo is. @ 1.2 log @*** … Continue reading

Posted in Uncategorized | Leave a comment

about fifo

Definition: A FIFO is similar to a pipe. A FIFO (First In First Out) is a one-way flow of data. FIFOs have a name, so unrelated processes can share the FIFO. FIFO is a named pipe. This is the main … Continue reading

Posted in Uncategorized | Leave a comment

comm. throu pipeb/w two process

access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.05.10.05.20.35;    author root;    state Exp; branches; next    ; desc @req client for pipe. @ 1.1 log @In server head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; … Continue reading

Posted in Uncategorized | Leave a comment

program to print * using while loop in shell scripting

1 head    1.1; 2 access; 3 symbols; 4 locks 5         root:1.1; strict; 6 comment @# @; 7 8 9 1.1 10 date    2014.04.19.12.26.46;    author root;    state Exp; 11 branches; 12 next    ; 13 14 15 desc 16 @to print * … Continue reading

Posted in Uncategorized | Leave a comment

push and pop program implement in stack

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.04.01.11.46.19;    author root;    state Exp; branches; next    ; desc @push and pop in stack . @ 1.1 log @Initial revision @ text @#include<stdio.h> #include<stdlib.h> #define MAX 5 … Continue reading

Posted in Uncategorized | Leave a comment

C File I/O

FILE * For C File I/O you need to use a FILE pointer, which will let the program keep track of the file being accessed. (You can think of it as the memory address of the file or the location … Continue reading

Posted in Uncategorized | Leave a comment

about RCS

RCS (revision control system) is a project management tool. RCS uses a number of commands to manage source file. It works by tracking source file as its changed by maintaining a single file with list of changes in sufficient detail … Continue reading

Posted in Uncategorized | Leave a comment

create linklist and display the data

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.03.23.22.24.26;    author root;    state Exp; branches; next    ; desc @create linklist . @ 1.1 log @Initial revision @ text @#include<stdio.h> #include<stdlib.h> #include<string.h> struct node { int roll; … Continue reading

Posted in Uncategorized | Leave a comment

enter any string and compressed it 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