EmbLogic's Blog

Master array for data compression is created

RCS file: mdc.c,v
Working file: mdc.c
head: 1.32
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 32; selected revisions: 32
description:
create a base code for multiple data compression and encryption using iterative technique
—————————-
revision 1.32
date: 2014/10/15 07:35:41; author: root; state: Exp; lines: +0 -4
remove prototypes from functions from c
remove prototypes of functions from c file
—————————-
revision 1.31
date: 2014/10/15 07:06:45; author: root; state: Exp; lines: +22 -21
*** empty log message ***
—————————-
revision 1.30
date: 2014/10/15 07:01:34; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.29
date: 2014/10/15 06:59:02; author: root; state: Exp; lines: +1 -1
remove error in create_master_array_function
declare integer i as a static variable
—————————-
revision 1.28
date: 2014/10/15 06:56:20; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.27
date: 2014/10/15 06:55:25; author: root; state: Exp; lines: +4 -4
*** empty log message ***
—————————-
revision 1.26
date: 2014/10/15 06:48:48; author: root; state: Exp; lines: +23 -13
gave prototype for create_master_array
define function create_master_array
make a call to create_master_array from function read_file
—————————-
revision 1.25
date: 2014/10/15 06:33:54; author: root; state: Exp; lines: +3 -3
use command line arguments to send file name
—————————-
revision 1.24
date: 2014/10/15 06:13:52; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.23
date: 2014/10/15 05:57:47; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.22
date: 2014/10/14 19:58:45; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.21
date: 2014/10/14 19:56:53; author: root; state: Exp; lines: +10 -4
use command line arguments to give the file name instead of hard coded it
—————————-
revision 1.20
date: 2014/10/14 19:21:24; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.19
date: 2014/10/14 19:14:36; author: root; state: Exp; lines: +61 -42
provide proper indentation to the code
use perror call to report the error
—————————-
revision 1.18
date: 2014/10/14 19:01:02; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.17
date: 2014/10/14 18:59:01; author: root; state: Exp; lines: +1 -1
did some changes in function check_unique to get the desired result
—————————-
revision 1.16
date: 2014/10/14 18:47:58; author: root; state: Exp; lines: +1 -1
prevent LF(\n) to save in master array
—————————-
revision 1.15
date: 2014/10/14 18:44:44; author: root; state: Exp; lines: +1 -1
remove error
—————————-
revision 1.14
date: 2014/10/14 18:43:49; author: root; state: Exp; lines: +7 -4
print total number of characters in master array
—————————-
revision 1.13
date: 2014/10/14 18:36:01; author: root; state: Exp; lines: +2 -0
allocate memory to master_array using malloc
—————————-
revision 1.12
date: 2014/10/14 18:34:14; author: root; state: Exp; lines: +2 -2
remove error
—————————-
revision 1.11
date: 2014/10/14 18:28:48; author: root; state: Exp; lines: +29 -1
gave prototype for check_unique function
check_unique function check the master array
if read character found in the array it returns 0 to the calling function
if not found returns 1
a call to the function check_unique is made in read_file function
—————————-
revision 1.10
date: 2014/10/14 17:55:17; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.9
date: 2014/10/14 17:50:04; author: root; state: Exp; lines: +1 -0
made a call to read_file function
—————————-
revision 1.8
date: 2014/10/14 17:46:35; author: root; state: Exp; lines: +16 -1
gave a prototype for read_file function
define function read
read_file
—————————-
revision 1.7
date: 2014/10/14 17:41:33; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.6
date: 2014/10/14 17:39:50; author: root; state: Exp; lines: +7 -3
make a call to open_file function for opening a file
—————————-
revision 1.5
date: 2014/10/14 17:35:54; author: root; state: Exp; lines: +3 -1
did some changes in open_file function
—————————-
revision 1.4
date: 2014/10/14 17:33:51; author: root; state: Exp; lines: +1 -1
remove error in open_file function
—————————-
revision 1.3
date: 2014/10/14 17:26:48; author: root; state: Exp; lines: +8 -0
gave the prototype for open_file function.
open_file fuction is used to open a file and return a file descriptor to the calling function
—————————-
revision 1.2
date: 2014/10/14 17:14:16; author: root; state: Exp; lines: +1 -1
use double quotes instead of triangular braces to include header.h
—————————-
revision 1.1
date: 2014/10/14 17:04:00; author: root; state: Exp;
Initial revision
=============================================================================

Posted in Data Structures with C, Project 2: Multiple Data Compression and Encryption | Leave a comment

to print the master array

total revisions: 5; selected revisions: 5
description:
defined the header files to be used in the program
—————————-
revision 1.5
date: 2014/10/16 04:01:32; author: root; state: Exp; lines: +1 -1
printing the master array
—————————-
revision 1.4
date: 2014/10/16 03:56:40; author: root; state: Exp; lines: +14 -1
giving the condition for flag !=1
—————————-
revision 1.3
date: 2014/10/16 03:50:52; author: root; state: Exp; lines: +12 -0
gave the condition for perror
also the condition for matching the characters with the master array
—————————-
revision 1.2
date: 2014/10/16 03:45:13; author: root; state: Exp; lines: +6 -1
opened the file in read only mode
defined the varibles used
allocated the memory to the master array
—————————-
revision 1.1
date: 2014/10/16 03:39:36; author: root; state: Exp;
Initial revision

Posted in Uncategorized | Leave a comment

MDC: Create Multiple Data Compression project upto create master array of another file.

RCS file: mdcfile.c,v
Working file: mdcfile.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
determined the mdc project.
—————————-
revision 1.2 locked by: root;
date: 2014/10/16 06:54:03; author: root; state: Exp; lines: +27 -32
*** empty log message ***
—————————-
revision 1.1
date: 2014/10/14 06:33:02; author: root; state: Exp;
Initial revision
=============================================================================

Posted in Uncategorized | Leave a comment

Project1 based on Multiple Data Compression upto creating master array using function and print the distinct characters.

RCS file: mprog.c,v
Working file: mprog.c
head: 1.22
branch:
locks: strict
root: 1.22
access list:
symbolic names:
keyword substitution: kv
total revisions: 22;    selected revisions: 22
description:
this is base source file for MDC
firstly,only open the file
—————————-
revision 1.22    locked by: root;
date: 2014/10/15 06:36:16;  author: root;  state: Exp;  lines: +1 -0
print the number of distinct characters
—————————-
revision 1.21
date: 2014/10/15 06:35:35;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.20
date: 2014/10/15 06:34:09;  author: root;  state: Exp;  lines: +2 -2
*** empty log message ***
—————————-
revision 1.19
date: 2014/10/15 06:32:18;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.18
date: 2014/10/15 06:31:02;  author: root;  state: Exp;  lines: +2 -2
*** empty log message ***
—————————-
revision 1.17
date: 2014/10/15 06:29:36;  author: root;  state: Exp;  lines: +2 -4
*** empty log message ***
—————————-
revision 1.16
date: 2014/10/15 06:25:42;  author: root;  state: Exp;  lines: +1 -0
*** empty log message ***
—————————-
revision 1.15
date: 2014/10/15 06:22:31;  author: root;  state: Exp;  lines: +6 -2
*** empty log message ***
—————————-
revision 1.14
date: 2014/10/15 06:09:29;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.13
date: 2014/10/15 06:07:18;  author: root;  state: Exp;  lines: +1 -5
*** empty log message ***
—————————-
revision 1.12
date: 2014/10/15 06:05:33;  author: root;  state: Exp;  lines: +4 -8
*** empty log message ***
—————————-
revision 1.11
date: 2014/10/15 05:52:19;  author: root;  state: Exp;  lines: +3 -2
*** empty log message ***
—————————-
revision 1.10
date: 2014/10/15 05:49:19;  author: root;  state: Exp;  lines: +30 -2
gave the defination and call the function for master array
—————————-
revision 1.9
date: 2014/10/15 05:41:14;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.8
date: 2014/10/15 05:38:26;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.7
date: 2014/10/15 05:37:11;  author: root;  state: Exp;  lines: +5 -3
remove the spaces from the last using if condition
—————————-
revision 1.6
date: 2014/10/15 05:35:48;  author: root;  state: Exp;  lines: +5 -3
read all characters one by one
—————————-
revision 1.5
date: 2014/10/15 04:45:14;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2014/10/15 04:44:22;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2014/10/15 04:43:21;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.2
date: 2014/10/15 04:37:04;  author: root;  state: Exp;  lines: +3 -0
read the first character from the file
—————————-
revision 1.1
date: 2014/10/15 04:31:24;  author: root;  state: Exp;
Initial revision

Posted in Uncategorized | Leave a comment

Process management(Duplicating process image using fork system call)

RCS file: ./2fork.c,v
Working file: ./2fork.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
basic fork implementation
—————————-
revision 1.2 locked by: root;
date: 2014/10/14 21:23:34; author: root; state: Exp; lines: +1 -1
print pid and ppid of the processes using getpid and getppid
—————————-
revision 1.1
date: 2014/10/14 21:22:38; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: ./3fork.c,v
Working file: ./3fork.c
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
fork implentation to understand Zombie process and orphan process
—————————-
revision 1.3 locked by: root;
date: 2014/10/14 21:48:51; author: root; state: Exp; lines: +1 -1
comment on the zombie process
—————————-
revision 1.2
date: 2014/10/14 21:38:47; author: root; state: Exp; lines: +3 -2
understand zombie process
—————————-
revision 1.1
date: 2014/10/14 21:27:28; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: ./4fork.c,v
Working file: ./4fork.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
implementation of wait and exit call to overcome orphan process
—————————-
revision 1.2 locked by: root;
date: 2014/10/14 21:17:42; author: root; state: Exp; lines: +2 -2
comments on wait call
—————————-
revision 1.1
date: 2014/10/14 20:54:32; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: ./5fork.c,v
Working file: ./5fork.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
use of waitpid system call in place of wait to wait for specific child process to be terminated
—————————-
revision 1.1 locked by: root;
date: 2014/10/15 02:02:27; author: root; state: Exp;
Initial revision
=============================================================================
[root@VIPIN classassignment]#

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

Character Driver ( Registration, Open, Write, Cleanup) along with proc

Character driver completed and successfully tested with registration, open, write and cleanup modules and debugged using proc file system.
The logfiles are as under :
RCS file: initialization.c,v
3 Working file: initialization.c
4 head: 1.5
5 branch:
6 locks: strict
7 root: 1.5
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 5; selected revisions: 5
12 description:
13 Character driver initialization file.
14 —————————-
15 revision 1.5 locked by: root;
16 date: 2014/10/11 18:32:59; author: root; state: Exp; lines: +14 -0
17 Nothin new
18 —————————-
19 revision 1.4
20 date: 2014/10/09 19:47:30; author: root; state: Exp; lines: +0 -14
21 *** empty log message ***
22 —————————-
23 revision 1.3
24 date: 2014/10/09 17:24:36; author: root; state: Exp; lines: +7 -3
25 Successfully written the current time into the proc file.

RCS file: dev_open.c,v
3 Working file: dev_open.c
4 head: 1.1
5 branch:
6 locks: strict
7 root: 1.1
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 1; selected revisions: 1
12 description:
13 Implements the underline mechanism of what happens when a file is opened by user space process
14 —————————-
15 revision 1.1 locked by: root;
16 date: 2014/10/09 18:39:19; author: root; state: Exp;
17 Initial revision
18 ===================================================

CS file: dev_write.c,v
3 Working file: dev_write.c
4 head: 1.6
5 branch:
6 locks: strict
7 root: 1.6
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 6; selected revisions: 6
12 description:
13 dev_write implementation for character driver.
14 Implements the routine needed to write in driver space using an application.
15 —————————-
16 revision 1.6 locked by: root;
17 date: 2014/10/11 18:48:38; author: root; state: Exp; lines: +5 -6
18 added comments
19 —————————-
20 revision 1.5
21 date: 2014/10/11 18:41:19; author: root; state: Exp; lines: +2 -5
22 Added some debugging messages.
23 —————————-
24 revision 1.4
25 date: 2014/10/11 18:33:21; author: root; state: Exp; lines: +87 -12
26 Successfully implemented the copy_to_user routine.
27 The user application successfully writes the data inside sculldev.
28 correctly returning the amount of data written.
29 —————————-
30 revision 1.3
31 date: 2014/10/09 19:47:57; author: root; state: Exp; lines: +62 -1
32 Successfully created the required number of quantums and qsets.

RCS file: cleanup.c,v
3 Working file: cleanup.c
4 head: 1.3
5 branch:
6 locks: strict
7 root: 1.3
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 3; selected revisions: 3
12 description:
13 Char driver cleanup file..
14 —————————-
15 revision 1.3 locked by: root;
16 date: 2014/10/11 18:33:10; author: root; state: Exp; lines: +2 -1
17 Removed the proc_remove code.
18 —————————-
19 revision 1.2
20 date: 2014/10/09 17:19:43; author: root; state: Exp; lines: +10 -1
21 added code to remove proc entry and unregister driver.
22 Upto this, driver registration, proc file, and unregister work fine.
23 —————————-

Posted in Character Driver | Leave a comment

Complete MDC project with a generalized compression function for 1 to 7 bit code lenght

Output of the project:
[root@VIPIN MDCGUR]# ./script
header.h,v <– header.h
file is unchanged; reverting to previous revision 1.32
done
main.c,v <– main.c
file is unchanged; reverting to previous revision 1.13
done
func.c,v > .
done
header.h,v –> header.h
revision 1.32
done
main.c,v –> main.c
revision 1.13
done
func.c,v –> func.c
revision 1.484
done

(In readd)
(In chkfile)
file read successfully as fd is 3
(In printfile)
the size of the file is:124
the content is in the file:
she sells sea shell on the sea shore.
when the going gets tough the tough gets going.
where there is will, there is way.
(In masterarray)
(In printma)
unique characters in master array are:
she laontr.
wgiu,y
(In mafile)
unique characters are written in mafile succesfully with a file descriptor: 4
the size of master array file is:19
(In codelength)
the code lenght is:5
(In compression)

the size of the compression file is:78
Compression Efficiency is:
eff%: ((124-78-19)/124)*100
=21.774193%
the content is in compression file:
$?!`Q??a?@A
??$?kA??????
d?
1??.
‘???b???@A$1?
“???hE?header.h,v –> header.h
revision 1.32 (locked)
done
main.c,v –> main.c
revision 1.13 (locked)
done
func.c,v –> func.c
revision 1.484 (locked)
done
[root@VIPIN MDCGUR]# cd rectest/
[root@VIPIN rectest]# ls
compfile decompfile mafile receiver.c script
[root@VIPIN rectest]# ./script

(In decompression)
(In codelength)
the code lenght is:5

Decompress data has written on decompfile sucessfully with a file descriptor:4
the size of decompression file is:124
the decompress data is:
she sells sea shell on the sea shore.
when the going gets tough the tough gets going.
where there is will, there is way.

[root@VIPIN rectest]#

Posted in Uncategorized | Leave a comment

CHARACTER DRIVER INITIALIZATION, OPENING , WRITING ,CLOSING, and CLEANUP.

RCS FILE OF THE HEADER.H OF THE CHARACTER DRIVER

RCS file: header.h,v
Working file: header.h
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10;    selected revisions: 10
description:
This is the header file.
Included init.h.
Included module.h.
using macro MODULE_LISCENCE.
—————————-
revision 1.10    locked by: root;
date: 2014/10/08 18:25:34;  author: root;  state: Exp;  lines: +1 -0
included asm/uaccess.h.
—————————-
revision 1.9
date: 2014/10/08 07:04:32;  author: root;  state: Exp;  lines: +1 -1
included kernel.h.
—————————-
revision 1.8
date: 2014/10/08 05:30:18;  author: root;  state: Exp;  lines: +4 -0
declared macros QSETSIZE and QUANTSIZE.
declared members qset_size and quant_size in the structure ScullDev.
—————————-
revision 1.7
date: 2014/09/26 08:45:24;  author: root;  state: Exp;  lines: +1 -1
included kernel.h.
—————————-
revision 1.6
date: 2014/09/26 08:15:43;  author: root;  state: Exp;  lines: +1 -0
Included kernel.h.
—————————-
revision 1.5
date: 2014/09/26 07:36:49;  author: root;  state: Exp;  lines: +11 -0
Included slab.h.
Defined struct ScullQset.
Defined struct ScullQset.
—————————-
revision 1.4
date: 2014/09/26 07:15:22;  author: root;  state: Exp;  lines: +1 -0
Included moduleparam.h.
—————————-
revision 1.3
date: 2014/09/26 07:01:34;  author: root;  state: Exp;  lines: +3 -0
declared macro MAJORNO, MINORNO, NOD.
—————————-
revision 1.2
date: 2014/09/26 06:29:23;  author: root;  state: Exp;  lines: +3 -0
Included fs.h.
Included cdev.h.
—————————-
revision 1.1
date: 2014/09/26 06:06:05;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS FILE OF THE DECLERATIONS.H OF THE CHARACTER DRIVER

RCS file: declare.h,v
Working file: declare.h
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8;    selected revisions: 8
description:
This is the declerations file.
Declared extern int dev_t dev.
declared extern int nod.
—————————-
revision 1.8    locked by: root;
date: 2014/10/08 17:35:06;  author: root;  state: Exp;  lines: +1 -1
minor bug.
—————————-
revision 1.7
date: 2014/10/08 05:31:28;  author: root;  state: Exp;  lines: +2 -0
declared extern int qset_size and extern int quant_size.
given prototype of dev_release().
—————————-
revision 1.6
date: 2014/10/08 05:10:19;  author: root;  state: Exp;  lines: +1 -0
minor bug.
—————————-
revision 1.5
date: 2014/10/08 04:59:11;  author: root;  state: Exp;  lines: +1 -0
given prototype of dev_write() routine.
—————————-
revision 1.4
date: 2014/09/26 08:16:27;  author: root;  state: Exp;  lines: +1 -0
given the prototype of the function dev_open().
—————————-
revision 1.3
date: 2014/09/26 07:37:37;  author: root;  state: Exp;  lines: +1 -1
Declared Struct SCullDev *sculldev.
—————————-
revision 1.2
date: 2014/09/26 07:02:49;  author: root;  state: Exp;  lines: +4 -0
declared extern int majorno, extern int minorno.
declared extern struct file_operations fops.
declared extern struct cdev mycdev.
—————————-
revision 1.1
date: 2014/09/26 06:46:55;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS FILE OF INIT.H OF THE CHARACTER DRIVER

RCS file: init.c,v
Working file: init.c
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10;    selected revisions: 10
description:
This is the initialization routine.
using macro module_init.
—————————-
revision 1.10    locked by: root;
date: 2014/10/08 05:32:09;  author: root;  state: Exp;  lines: +4 -0
assigned value to qset_size and quant_size.
—————————-
revision 1.9
date: 2014/09/26 08:46:00;  author: root;  state: Exp;  lines: +1 -0
Setting the initial value of scullqset member of sculldev to null.
—————————-
revision 1.8
date: 2014/09/26 08:16:46;  author: root;  state: Exp;  lines: +1 -1
Included user defined header file file_init.h.
—————————-
revision 1.7
date: 2014/09/26 07:41:53;  author: root;  state: Exp;  lines: +15 -0
debugging messages added.
—————————-
revision 1.6
date: 2014/09/26 07:38:01;  author: root;  state: Exp;  lines: +7 -6
allocated memory to the sculldev using kmallo
kmalloc*
—————————-
revision 1.5
date: 2014/09/26 07:15:37;  author: root;  state: Exp;  lines: +15 -8
adding multiple devices.
accepting number of devises from module parameters.
printing all major and minor numbers.
—————————-
revision 1.4
date: 2014/09/26 07:02:01;  author: root;  state: Exp;  lines: +16 -2
initialising a device using cdev_init().
Adding the device using cdev_add().
—————————-
revision 1.3
date: 2014/09/26 06:33:02;  author: root;  state: Exp;  lines: +1 -1
checking the return value of alloc_chrdev_region.
—————————-
revision 1.2
date: 2014/09/26 06:29:40;  author: root;  state: Exp;  lines: +19 -0
Registering the driver using alloc_chrdev_region().
printing the major number allocated.
—————————-
revision 1.1
date: 2014/09/26 06:06:05;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS FILE OF OPEN ROUTICE OF CHAR DRIVER

RCS file: dev_open.c,v
Working file: dev_open.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 open routine of our device.
—————————-
revision 1.5    locked by: root;
date: 2014/09/26 08:50:16;  author: root;  state: Exp;  lines: +7 -2
debugging.
—————————-
revision 1.4
date: 2014/09/26 08:49:01;  author: root;  state: Exp;  lines: +6 -0
debugging messages.
—————————-
revision 1.3
date: 2014/09/26 08:46:31;  author: root;  state: Exp;  lines: +23 -1
Implementing dev_trim().
—————————-
revision 1.2
date: 2014/09/26 08:29:40;  author: root;  state: Exp;  lines: +18 -0
using container_of function to put data into struct inode.
—————————-
revision 1.1
date: 2014/09/26 08:17:25;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS IFLE OF WRITE ROUTINE OF CHAR DRIVER

RCS file: dev_write.c,v
Working file: dev_write.c
head: 1.11
branch:
locks: strict
root: 1.11
access list:
symbolic names:
keyword substitution: kv
total revisions: 11;    selected revisions: 11
description:
this is write routine of this driver.
—————————-
revision 1.11    locked by: root;
date: 2014/10/08 18:26:11;  author: root;  state: Exp;  lines: +31 -7
writing into sculldev from user buffer using macro copy_from_user.
—————————-
revision 1.10
date: 2014/10/08 17:54:16;  author: root;  state: Exp;  lines: +30 -3
implemented create_quant.
—————————-
revision 1.9
date: 2014/10/08 17:35:16;  author: root;  state: Exp;  lines: +2 -1
implementing create_qset.
—————————-
revision 1.8
date: 2014/10/08 17:28:39;  author: root;  state: Exp;  lines: +20 -0
implementing create_qset.
—————————-
revision 1.7
date: 2014/10/08 07:05:57;  author: root;  state: Exp;  lines: +68 -17
allocated scullqsets successfully.
given prototype of create_qset.
implementing create_qset.
qsets allocated successfully.
—————————-
revision 1.6
date: 2014/10/08 05:40:37;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.5
date: 2014/10/08 05:39:24;  author: root;  state: Exp;  lines: +1 -1
debugging messages.
—————————-
revision 1.4
date: 2014/10/08 05:37:26;  author: root;  state: Exp;  lines: +3 -3
minor error (% instead of /).
—————————-
revision 1.3
date: 2014/10/08 05:33:06;  author: root;  state: Exp;  lines: +22 -1
given prototype of create_scullqset().
implementing create_scullqset(().
calculating number of scullqset in function create_scullqset().
—————————-
revision 1.2
date: 2014/10/08 05:16:39;  author: root;  state: Exp;  lines: +10 -1
fetching data fropn file->private data into a local ScullDev variable.
—————————-
revision 1.1
date: 2014/10/08 05:04:21;  author: root;  state: Exp;
Initial revision
=============================================================================

Posted in Uncategorized | Leave a comment

Algo for creating threads………

1)In the main,declare a pthread_t type variable.

2)Create a thread using pthread_create.

prototype:pthread_create(pthread_t*,attributes,void*(function pointer),void*(argument to be passed)); //attributes=0:::if not used

3)Make a function of return type void *;

4)This function would be called as soon as the thread is created.

5)Use pthread_exit() at the end of this function.

6)In the main function use pthread_join,so that the main program waits till the exit value is not captured from pthread_exit();

Posted in Project 04: FTP based Client Server using Threads and Sockets | Leave a comment

rcs of driver initialization…….

head    1.19;
2 access;
3 symbols;
4 locks
5         root:1.19; strict;
6 comment @ * @;
7
8
9 1.19
10 date    2014.10.05.10.38.59;    author root;    state Exp;
11 branches;
12 next    1.18;
13
14 1.18
15 date    2014.10.05.10.38.24;    author root;    state Exp;
16 branches;
17 next    1.17;
18
19 1.17
20 date    2014.10.03.14.07.19;    author root;    state Exp;
21 branches;
22 next    1.16;
23
24 1.16
25 date    2014.10.03.10.29.04;    author root;    state Exp;
26 branches;
27 next    1.15;
28
29 1.15
30 date    2014.10.03.10.28.00;    author root;    state Exp;
31 branches;
32 next    1.14;
33
34 1.14
35 date    2014.10.03.10.17.44;    author root;    state Exp;
36 branches;
next    1.13;
38
39 1.13
40 date    2014.10.03.10.17.14;    author root;    state Exp;
41 branches;
42 next    1.12;
43
44 1.12
45 date    2014.10.03.10.16.34;    author root;    state Exp;
46 branches;
47 next    1.11;
48
49 1.11
50 date    2014.10.03.10.12.52;    author root;    state Exp;
51 branches;
52 next    1.10;
53
54 1.10
55 date    2014.10.03.10.11.46;    author root;    state Exp;
56 branches;
57 next    1.9;
58
59 1.9
60 date    2014.10.03.10.10.49;    author root;    state Exp;
61 branches;
62 next    1.8;
63
64 1.8
65 date    2014.10.03.10.09.50;    author root;    state Exp;
66 branches;
67 next    1.7;
68

1.7
70 date    2014.10.03.10.09.09;    author root;    state Exp;
71 branches;
72 next    1.6;
73
74 1.6
75 date    2014.10.03.09.58.22;    author root;    state Exp;
76 branches;
77 next    1.5;
78
79 1.5
80 date    2014.10.03.09.55.51;    author root;    state Exp;
81 branches;
82 next    1.4;
83
84 1.4
85 date    2014.10.01.17.22.31;    author root;    state Exp;
86 branches;
87 next    1.3;
88
89 1.3
90 date    2014.10.01.17.19.02;    author root;    state Exp;
91 branches;
92 next    1.2;
93
94 1.2
95 date    2014.10.01.17.03.37;    author root;    state Exp;
96 branches;
97 next    1.1;
98
99 1.1
100 date    2014.09.29.07.25.13;    author root;    state Exp;

Posted in Character Driver | Leave a comment

MULTI-THREADED FTP SERVER

Hi guys, I’ve tried to implement a multi-threaded FTP server that enables the clients to download files from the server. I will be posting the project on git-hub along with all its source code. You are most welcome to test the code, find bugs and report at the email as under :
email : abhishek.esse@gmail.com
Here’s the server’s log file.

1
2 RCS file: server.c,v
3 Working file: server.c
4 head: 1.5
5 branch:
6 locks: strict
7 root: 1.5
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 5; selected revisions: 5
12 description:
13 Implementing ftp server under AF_INET family.
14 —————————-
15 revision 1.5 locked by: root;
16 date: 2014/09/29 20:33:26; author: root; state: Exp; lines: +0 -1
17 Removed the statement that printed the number of bytes written by the server.
18 —————————-
19 revision 1.4
20 date: 2014/09/29 20:23:53; author: root; state: Exp; lines: +143 -29
21 Successfully implemented the ftp server.
22 The server successfully responds to the client requests.
23 File sending successful.
24 No issues as of now w.r.t. to functionality of the server.
25 —————————-
26 revision 1.3
27 date: 2014/09/29 11:42:01; author: root; state: Exp; lines: +59 -28
28 The server threads for individual clients behave properly, i.e. even if a client quits the server continues execution.
29 —————————-
30 revision 1.2
31 date: 2014/09/29 10:25:56; author: root; state: Exp; lines: +30 -8
32 Implemented the following functionality.
“server_log_file” 42L, 1587C 25,1 Top

Posted in Project 04: FTP based Client Server using Threads and Sockets | Leave a comment

FIRST PROGRAM AT QT-CROSS PLATFORM OF .cpp FILE WIDGET APPLICATION FROM MY DESKTOP “Hello World”

Screenshot from 2014-09-28 15:04:34

Posted in Uncategorized | Leave a comment

Client,server and process communication project using signals

Welcome to the Project!!
n1=12, n2=23 Performing addition action
In Server:Sum=35
In CLIENT: Result=35
n1=20, n2=8 Performing Subtraction action
In Server:Sub=12
In CLIENT2: Result=12
n1=5, n2=8 Performing Multiplication action
In Server:Mul=40
In CLIENT3: Result=40

RCS file: RCS/server.c,v
Working file: server.c
head: 1.27
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 27;    selected revisions: 27
description:
program which act as a server to take the request of client
done:created one child process and a pipe
done:replace the child process with client1.c and send pfd[1] to the client as a command line argument
—————————-
revision 1.27
date: 2014/09/27 13:32:08;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.26
date: 2014/09/27 13:30:56;  author: root;  state: Exp;  lines: +1 -1
fix child exit normally
—————————-
revision 1.25
date: 2014/09/27 13:26:47;  author: root;  state: Exp;  lines: +5 -11
remove extra printf
—————————-
revision 1.24
date: 2014/09/27 13:20:47;  author: root;  state: Exp;  lines: +19 -6
create 3rd client and process to perform multiplication
—————————-
revision 1.23
date: 2014/09/27 13:07:11;  author: root;  state: Exp;  lines: +2 -2
include client 2 also
—————————-
revision 1.22
date: 2014/09/27 12:59:47;  author: root;  state: Exp;  lines: +1 -1
send signal to client after reading the result from process pipe and writing the same into client pipe
—————————-
revision 1.21
date: 2014/09/27 12:54:04;  author: root;  state: Exp;  lines: +4 -2
get the pid of child in parent process inorder to send the signal using kill
—————————-
revision 1.20
date: 2014/09/27 12:48:34;  author: root;  state: Exp;  lines: +7 -6
get the id of process child into pid1
—————————-
revision 1.19
date: 2014/09/27 05:37:45;  author: root;  state: Exp;  lines: +1 -0
check char variable in switch case
—————————-
revision 1.18
date: 2014/09/27 05:34:19;  author: root;  state: Exp;  lines: +1 -2
*** empty log message ***
—————————-
revision 1.17
date: 2014/09/27 05:27:32;  author: root;  state: Exp;  lines: +1 -1
change the position of signal handler
—————————-
revision 1.16
date: 2014/09/27 05:25:13;  author: root;  state: Exp;  lines: +1 -1
use pause to synchronise
—————————-
revision 1.15
date: 2014/09/27 05:18:07;  author: root;  state: Exp;  lines: +2 -2
change the lable1 in front of fork
—————————-
revision 1.14
date: 2014/09/27 05:12:04;  author: root;  state: Exp;  lines: +21 -3
create 1 client and 1 process for subtraction operation
—————————-
revision 1.13
date: 2014/09/26 19:00:34;  author: root;  state: Exp;  lines: +0 -1
*** empty log message ***
—————————-
revision 1.12
date: 2014/09/26 18:55:32;  author: root;  state: Exp;  lines: +2 -0
write the result into client pipe
—————————-
revision 1.11
date: 2014/09/26 18:51:04;  author: root;  state: Exp;  lines: +5 -1
define function to handle sigusr1
—————————-
revision 1.10
date: 2014/09/26 18:46:22;  author: root;  state: Exp;  lines: +2 -2
use pause()
—————————-
revision 1.9
date: 2014/09/26 17:57:33;  author: root;  state: Exp;  lines: +30 -86
remake the program without using any sleep instruction
use structure to read the data from client
write the num1 and num2 into process adder pipe
—————————-
revision 1.8
date: 2014/09/24 14:24:48;  author: root;  state: Exp;  lines: +0 -1
change the o/p appearence
—————————-
revision 1.7
date: 2014/09/24 14:12:17;  author: root;  state: Exp;  lines: +42 -10
read result from p1,p2,p3
—————————-
revision 1.6
date: 2014/09/24 13:08:55;  author: root;  state: Exp;  lines: +17 -3
create one more child process to call process1.c
—————————-
revision 1.5
date: 2014/09/24 09:47:40;  author: root;  state: Exp;  lines: +31 -3
read the data from all three client
do switch case to perform different operation
—————————-
revision 1.4
date: 2014/09/24 08:38:36;  author: root;  state: Exp;  lines: +6 -6
create 3 child of same parent to call diff-2 client
—————————-
revision 1.3
date: 2014/09/24 08:14:31;  author: root;  state: Exp;  lines: +18 -7
crate another pipe for communication between server and process
—————————-
revision 1.2
date: 2014/09/24 06:39:04;  author: root;  state: Exp;  lines: +3 -0
read the data through pipe sent by client1
—————————-
revision 1.1
date: 2014/09/24 06:22:18;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/client1.c,v
Working file: client1.c
head: 1.15
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 15;    selected revisions: 15
description:
client process which will replace the child process
done:create the structure for operand and operation, get the pipe write fd as a command line argument
—————————-
revision 1.15
date: 2014/09/27 13:21:15;  author: root;  state: Exp;  lines: +0 -2
remove unwanted printf
—————————-
revision 1.14
date: 2014/09/27 13:07:36;  author: root;  state: Exp;  lines: +1 -1
don’t work  by ignoring so get back on handling the SIGUSR1
—————————-
revision 1.13
date: 2014/09/27 13:03:41;  author: root;  state: Exp;  lines: +1 -2
test on signal ignore
—————————-
revision 1.12
date: 2014/09/27 13:00:28;  author: root;  state: Exp;  lines: +6 -1
define the signal handler and use pause till the client get the result after writing the data into pipe
—————————-
revision 1.11
date: 2014/09/27 12:54:35;  author: root;  state: Exp;  lines: +1 -0
get pid of itself
—————————-
revision 1.10
date: 2014/09/27 05:34:35;  author: root;  state: Exp;  lines: +1 -0
*** empty log message ***
—————————-
revision 1.9
date: 2014/09/27 05:25:49;  author: root;  state: Exp;  lines: +1 -0
send signal to parent using kill
—————————-
revision 1.8
date: 2014/09/26 18:55:49;  author: root;  state: Exp;  lines: +2 -1
read the result from the server end
—————————-
revision 1.7
date: 2014/09/26 18:46:32;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.6
date: 2014/09/26 17:59:29;  author: root;  state: Exp;  lines: +15 -8
use structure to write the data into pipe
—————————-
revision 1.5
date: 2014/09/24 14:25:10;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.4
date: 2014/09/24 09:48:23;  author: root;  state: Exp;  lines: +6 -11
write operater and two operand into pipe
—————————-
revision 1.3
date: 2014/09/24 08:15:04;  author: root;  state: Exp;  lines: +3 -1
send the data to server and exit()
—————————-
revision 1.2
date: 2014/09/24 06:39:32;  author: root;  state: Exp;  lines: +5 -1
write the data into pipe so that server can read that
—————————-
revision 1.1
date: 2014/09/24 06:24:50;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/client2.c,v
Working file: client2.c
head: 1.10
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 10;    selected revisions: 10
description:
create client 2 to do the different mathematical operation
—————————-
revision 1.10
date: 2014/09/27 13:21:39;  author: root;  state: Exp;  lines: +1 -4
remove unwanted printf
—————————-
revision 1.9
date: 2014/09/27 13:10:11;  author: root;  state: Exp;  lines: +3 -1
remove syntex error
—————————-
revision 1.8
date: 2014/09/27 13:08:14;  author: root;  state: Exp;  lines: +3 -1
write the signal handler
—————————-
revision 1.7
date: 2014/09/27 12:49:18;  author: root;  state: Exp;  lines: +1 -0
use signal
—————————-
revision 1.6
date: 2014/09/27 05:34:37;  author: root;  state: Exp;  lines: +1 -0
*** empty log message ***
—————————-
revision 1.5
date: 2014/09/27 05:26:00;  author: root;  state: Exp;  lines: +2 -1
send signal SIGUSR1 to server
—————————-
revision 1.4
date: 2014/09/27 05:12:30;  author: root;  state: Exp;  lines: +19 -8
client for subtraction
—————————-
revision 1.3
date: 2014/09/24 16:13:23;  author: root;  state: Exp;  lines: +0 -2
*** empty log message ***
—————————-
revision 1.2
date: 2014/09/24 09:48:57;  author: root;  state: Exp;  lines: +7 -15
write into pipe
—————————-
revision 1.1
date: 2014/09/24 08:39:12;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/client3.c,v
Working file: client3.c
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;    selected revisions: 4
description:
create client 3
—————————-
revision 1.4
date: 2014/09/27 13:21:49;  author: root;  state: Exp;  lines: +21 -7
create client for multiplication with signal handler after writing the data
—————————-
revision 1.3
date: 2014/09/24 14:25:40;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.2
date: 2014/09/24 09:49:23;  author: root;  state: Exp;  lines: +6 -13
whrite into pipe
—————————-
revision 1.1
date: 2014/09/24 08:39:54;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/process1.c,v
Working file: process1.c
head: 1.6
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 6;    selected revisions: 6
description:
this is process program which do the operation on data and return the result
—————————-
revision 1.6
date: 2014/09/27 13:26:59;  author: root;  state: Exp;  lines: +0 -1
remove extra printf
—————————-
revision 1.5
date: 2014/09/26 18:46:37;  author: root;  state: Exp;  lines: +2 -0
send signal using kill
—————————-
revision 1.4
date: 2014/09/26 17:59:53;  author: root;  state: Exp;  lines: +6 -16
get the num1 and num2 from server and perform the addition operation
wrirte back the sum into pipe
—————————-
revision 1.3
date: 2014/09/24 14:25:49;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.2
date: 2014/09/24 14:13:02;  author: root;  state: Exp;  lines: +8 -3
write the result into pipe in interger form
—————————-
revision 1.1
date: 2014/09/24 13:09:17;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/process2.c,v
Working file: process2.c
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;    selected revisions: 5
description:
process to perform – operation and writing the result back into the pipe
—————————-
revision 1.5
date: 2014/09/27 13:27:12;  author: root;  state: Exp;  lines: +0 -1
remove extra printf
—————————-
revision 1.4
date: 2014/09/27 05:13:57;  author: root;  state: Exp;  lines: +1 -1
use sub instead of sum
—————————-
revision 1.3
date: 2014/09/27 05:12:41;  author: root;  state: Exp;  lines: +7 -15
processing end for subtraction
—————————-
revision 1.2
date: 2014/09/24 14:25:52;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.1
date: 2014/09/24 14:14:17;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/process3.c,v
Working file: process3.c
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;    selected revisions: 3
description:
process 3 to perform multiplication
—————————-
revision 1.3
date: 2014/09/27 13:22:13;  author: root;  state: Exp;  lines: +7 -16
process 3 for multiplication
—————————-
revision 1.2
date: 2014/09/24 14:25:55;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.1
date: 2014/09/24 14:14:52;  author: root;  state: Exp;
Initial revision
=============================================================================

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

Devoloped link list concept

RCS file: ll.c,v
Working file: ll.c
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
link list program
—————————-
revision 1.3 locked by: root;
date: 2014/09/26 05:52:07; author: root; state: Exp; lines: +13 -1
implement insert node function
implement delete node function
—————————-
revision 1.2
date: 2014/09/26 05:02:58; author: root; state: Exp; lines: +1 -1
devoloped the concept of linked list
enter enteries in node and print on terminal
—————————-
revision 1.1
date: 2014/09/26 05:01:09; author: root; state: Exp;
Initial revision
=============================================================================

Posted in Data Structures with C | Leave a comment

client,server and process communication via pipes

RCS file: RCS/server.c,v
Working file: server.c
head: 1.8
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 8;    selected revisions: 8
description:
program which act as a server to take the request of client
done:created one child process and a pipe
done:replace the child process with client1.c and send pfd[1] to the client as a command line argument
—————————-
revision 1.8
date: 2014/09/24 14:24:48;  author: root;  state: Exp;  lines: +0 -1
change the o/p appearence
—————————-
revision 1.7
date: 2014/09/24 14:12:17;  author: root;  state: Exp;  lines: +42 -10
read result from p1,p2,p3
—————————-
revision 1.6
date: 2014/09/24 13:08:55;  author: root;  state: Exp;  lines: +17 -3
create one more child process to call process1.c
—————————-
revision 1.5
date: 2014/09/24 09:47:40;  author: root;  state: Exp;  lines: +31 -3
read the data from all three client
do switch case to perform different operation
—————————-
revision 1.4
date: 2014/09/24 08:38:36;  author: root;  state: Exp;  lines: +6 -6
create 3 child of same parent to call diff-2 client
—————————-
revision 1.3
date: 2014/09/24 08:14:31;  author: root;  state: Exp;  lines: +18 -7
crate another pipe for communication between server and process
—————————-
revision 1.2
date: 2014/09/24 06:39:04;  author: root;  state: Exp;  lines: +3 -0
read the data through pipe sent by client1
—————————-
revision 1.1
date: 2014/09/24 06:22:18;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/client1.c,v
Working file: client1.c
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;    selected revisions: 5
description:
client process which will replace the child process
done:create the structure for operand and operation, get the pipe write fd as a command line argument
—————————-
revision 1.5
date: 2014/09/24 14:25:10;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.4
date: 2014/09/24 09:48:23;  author: root;  state: Exp;  lines: +6 -11
write operater and two operand into pipe
—————————-
revision 1.3
date: 2014/09/24 08:15:04;  author: root;  state: Exp;  lines: +3 -1
send the data to server and exit()
—————————-
revision 1.2
date: 2014/09/24 06:39:32;  author: root;  state: Exp;  lines: +5 -1
write the data into pipe so that server can read that
—————————-
revision 1.1
date: 2014/09/24 06:24:50;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/client2.c,v
Working file: client2.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
create client 2 to do the different mathematical operation
—————————-
revision 1.2    locked by: root;
date: 2014/09/24 09:48:57;  author: root;  state: Exp;  lines: +7 -15
write into pipe
—————————-
revision 1.1
date: 2014/09/24 08:39:12;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/client3.c,v
Working file: client3.c
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;    selected revisions: 3
description:
create client 3
—————————-
revision 1.3
date: 2014/09/24 14:25:40;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.2
date: 2014/09/24 09:49:23;  author: root;  state: Exp;  lines: +6 -13
whrite into pipe
—————————-
revision 1.1
date: 2014/09/24 08:39:54;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/process1.c,v
Working file: process1.c
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;    selected revisions: 3
description:
this is process program which do the operation on data and return the result
—————————-
revision 1.3
date: 2014/09/24 14:25:49;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.2
date: 2014/09/24 14:13:02;  author: root;  state: Exp;  lines: +8 -3
write the result into pipe in interger form
—————————-
revision 1.1
date: 2014/09/24 13:09:17;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/process2.c,v
Working file: process2.c
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
process to perform – operation and writing the result back into the pipe
—————————-
revision 1.2
date: 2014/09/24 14:25:52;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.1
date: 2014/09/24 14:14:17;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: RCS/process3.c,v
Working file: process3.c
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
process 3 to perform multiplication
—————————-
revision 1.2
date: 2014/09/24 14:25:55;  author: root;  state: Exp;  lines: +0 -2
change the o/p appearance
—————————-
revision 1.1
date: 2014/09/24 14:14:52;  author: root;  state: Exp;
Initial revision
=============================================================================

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