master array created ….in the process of implementation of encryption
Implemented 2 way communication using reader and writer threads in 2 application ! 1st system)Gives open call to server application i.e driver application 2nd system) Server app recieves open call and opens the node 3rd system) Executes read and write … Continue reading
int main(void) { char *ptr; ptr = malloc(sizeof(char)*20); printf(“%p\n”, ptr); ptr = “hello”; printf(“%p\n”, ptr); printf(“The sting is %s\n”, ptr); free(ptr); return 0; } Check the above program. Ptr address is different in first and second case. Also free will … Continue reading
Working fine for singal Writer(Machine 1), Singal Reader(Machine 2), open/close file(Machine 3), and server(Machine 4). using sockets for IPC.
My driver was working fine, but it now gives an error whaich goes as follows: Error Inserting Module: Unknown symbols in module. But on compiling the module its error free.
in write and read functions we are provided with a pointer to the file structure namely filp and we know this can change the position of the current read/write position namely the f_pos field in the struct file….but when in … Continue reading
Ajay: Works on arrays, to making a master array from a simple array.And data-types of arrays is character(char) further continue… Harshvardhan Singh: Initial problem solution(correctness),algorithm design and flow chart design concerning the TIME & SPACE trade-off.INITid design of the code … Continue reading
Multiple Data Compression & Encryption We have been assigned the above project in a team of 10 members. This project is based on compression of a string and then decompression of the same string. Which includes use of File I/O … Continue reading
PROJECT NAME-> Implementing Chating Across Multiple Systems Through Socket via Sculldriver PROJECT HEAD-> Vaibhav sir Specifications: 1.Used Socket_inet as an ipc mechanism 2.Used semaphore at thread level for each application 3.Send/receive data between applications via driver from sculldev Description: Machine … Continue reading
ssize_t scull_write ( struct file *filp, const char __user *buffer, size_t count , loff_t *offset) { struct ScullDev *lsculldev; struct ScullQset *lscullqset; int noq, nobsw,start_q,lcount,lv,ret; int nobtw,noq_f,index,new_pos; nobtw = count; index = noq_f = 0; lcount = noq = nobsw … Continue reading
would any one please let me know that what is rudimentary calculator………………………?
sir , i have compeletd the lseek,thread synchronization in character driver. i have successed to creating an entry in proc file system.