hello sir, I wanted to ask that how can we use Lables for calling a predefined kernel function from another function. For .eg.. ssize_t scull_write() { write: xyz; } ssize scull_read() { goto write; } this calling of the write … Continue reading
#ifndef _IOC_NONE # define _IOC_NONE 0U #endif #ifndef _IOC_WRITE # define _IOC_WRITE 1U #endif #ifndef _IOC_READ # define _IOC_READ 2U #endif please explain these lines of code>>!!
#ifndef _IOC_NONE # define _IOC_NONE 0U #endif #ifndef _IOC_WRITE # define _IOC_WRITE 1U #endif #ifndef _IOC_READ # define _IOC_READ 2U #endif please explain these MACROS and their Scalar values used for determining the direction
I have completed the following topics:: Fedora installation Kernel compilation Gcc installation Configure Raid all servers Created Usb media Dual Boot Debiyan installation
this is the program for connecting 7nodes…… #include int main(void) { struct node { int info; struct node *d; }; struct node d1,*n,*t; { int i; d1.d=(struct node*) malloc(sizeof(struct node)); printf(“\nmemory allocation for pointer p of d1\n”); printf(“\nd1.d=%d\n”,d1.d); n=(struct node*)malloc(sizeof(struct … Continue reading