Do you know how memory is allocated for structure members in C Always, contiguous(adjacent) memory locations are used to store structure members in memory. Consider below example to understand how memory is allocated for structures. Example program for memory allocation … Continue reading
DETAILS The task of fulfilling an allocation request consists of locating a block of unused memory of sufficient size. Memory requests are satisfied by allocating portions from a large pool of memory called the heap. At any given time, some … Continue reading
The IEEE 1284 standard allows for faster throughput and bidirectional data flow with a theoretical maximum throughput of 4 megabytes per second; actual throughput is around 2 megabytes/second, depending on hardware. In the printer venue, this allows for faster printing … Continue reading
Character special files or character devices relate to devices through which the system transmits data one character at a time by, for example, getchar. These device nodes often serve for stream communication with devices such as mice, keyboards, virtual terminals, … Continue reading
Implemented the following: 1.Register the driver by using the new mechanism, allocate the memory , initialise and add the cdev to device table. head 1.2; access; symbols; locks root:1.2; strict; comment @ * @; 1.2 date 2014.01.06.11.00.57; author root; state … Continue reading
log file of init function head 1.1; access; symbols; locks root:1.1; strict; comment @ * @; 1.1 date 2014.01.04.11.18.09; author root; state Exp; branches; next ; desc @this is the source code of init function for initialization in device driver … Continue reading
head 1.1; access; symbols; locks root:1.1; strict; comment @ * @; 1.1 date 2013.12.30.05.37.11; author root; state Exp; branches; next ; desc @this is server implemented by socket and create usrname & password for server @ 1.1 log @Initial revision … Continue reading
An Overview of Process Communication in Linux First of all, let’s understand the actual meaning of: IPC. IPC is an abbreviation that stands for Inter-process Communication. It denotes a set of system calls that allows a User Mode process to: … Continue reading
head ; access; symbols; locks; strict; comment @ * @; desc @this is the client implemented with socket. @
head ; access; symbols; locks; strict; comment @ * @; desc @this is code of server which is implemented with the use of socket. @ ~ ~