what is the conceptual difference between macros and function…………???
why we can not compare two variables of same structure type????
why we do not use address operator before variables in printf statement for fetching value: example: printf(“%d”,&a);
partial write creates problem so i could not able to implement multiple quantum ,without partial write it is easy perform for multiple quantum , and it crates complexity so i want to freeze my self at single quantum ……….
Is there any function to reallocate memory at the kernel level in spite of kmalloc……????
int main() //without header file {int *i; char k; float s; char j[5]; struct hi { }; return 0; } //where these all keywords and main function is declared and defined…?????
example : char a[]=”a”; this is possible but not efficient because we have other method to assign character const as shown below: char c=’a’;
If container of function returns scull_dev pointer, then where the major and minor numbers are located into the different structures??????
what is the difference between NULL and NUL ………………..??????
Could any body try ,to satisfied me ,by telling me the truth of the container of function?
why kernel can not dereference user space buffer ??????
please write appropriate comment……………… //this function only remove last node of the scull_dev because it has not any reverencing function for deleting previous nodes till the fist node. //sir has taken one previous pointer but it also deletes only one … Continue reading
#include<stdio.h> #include<stdlib.h> #include<sys/types.h> #include<sys/stat.h> //#include<fcntl.h> //#include<unistd.h> #include<string.h> #define QSET 3 //size of the pointer array ,points to quantum. #define QUANTUM 4 //size of quantum. struct scull_dev { struct scull_qset *data; //points to scull qset int qset; //qset size int quantum; … Continue reading