Both the modes have been implemented without nstrobe.
Being Asynchronous with other code….
Sir, Please tell a way to improve my vocublery?
Working fine with more than 1 lkm. Able to write data on device from scull.
Working fine for singal Writer(Machine 1), Singal Reader(Machine 2), open/close file(Machine 3), and server(Machine 4). using sockets for IPC.
Sir, if there is nothing to return or 0 to return from a read_proc function, then it is being involked for one time only. But if we return some value like 30 or 40 or No_of_bytes written, then read_proc is … Continue reading
Implemented create_proc_entry AND create_proc_read_entry successfully. read_proc successfully mapped and working on opening /proc/my_file… Also writing into the file. And reading the contents.
Running 100 applications in background writing and reading on Device… working absolutely fine.
Implemented Driver Initialization Algo. Able to run my own open() function in module.
Implemented driver again… implemented sockets using iNET and able to chat between two systems..
Implemented Drivers (Initialization & Registration), Implemented Posix Threads.
1. The address of variables stored in data segment never changes. 2. All the functions are allocated memory in data segments whether it is defined inside main(locally) or outside main(globally). 3. Initialized global variables are stored in data segment, UN-initialized … Continue reading
In which segment does a command line argument goes…??
#include #define max(a,c,b) a=(b>c)?b:c void max1(int,int,int); int main() { int a=1,c=5,b=4; max(a,c++,b++);//It will make b=5 and c=7.. ?? printf(“By Macro %d\n”,a); printf(“now a= %d\nb= %d\nc=%d\n”,a,b,c); max1(a,b++,c++); return 0; } void max1(int a,int b,int c) { a=(b>c)?b:c; printf(“%d \n”,a); }
Both CVS and RCS have been implemented successfully.