pointer-> pointer is a variable that store logical address.it is the only way to express som computation and produces compact and efficient cod.it povides a very powerful tool
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
Malloc-> It is used to allocate memory at run time in to the RAM. The prototype function is used is in stdlib.h, Syntax-> ptr=int * (malloc) (sizeof bytes)
A Real-Time Operating System (RTOS) is a computing environment that reacts to input within a specific time period. A real-time deadline can be so small that system reaction appears instantaneous. The term real-time computing has also been used, however, to … Continue reading
I have used malloc function in linklist for allocating dynamic memory to the pointers.In linklist nodes are at random locations.
The communication links across which computers—or parts of computers—talk to one another may be either serial or parallel. A parallel link transmits several streams of data (perhaps representing particular bits of a stream of bytes) along multiple channels (wires, printed … Continue reading
A version control system allows you to track the history of a collection of files and includes the functionality to revert the collection of files to another version. Each version captures a snapshot of the files at a certain point … Continue reading
—————————- revision 1.15 locked by: root; date: 2014/03/01 11:19:07; author: root; state: Exp; lines: +5 -0. Testing………. —————————- revision 1.14 date: 2014/03/01 11:13:18; author: root; state: Exp; lines: +15 -7 The copy_from_user() function is used to copy a block of … Continue reading
It is Extensible linking format. It was chosen as standard binary file format for Unix like system . It is extensible and flexible by design so it is used in many operating systems and on many different platform.
A function is a self contained block of statements that have predefined meanings.you can divide up your code into separate functions. How you divide up your code among different functions is up to you, but logically the division usually is … Continue reading
After writing the programme it is saved with .c name. During its execution code file gets converted into executable in four different steps.Firstly c code is preprocessed and get converted into .i file. Then .i file is compiled and get … Continue reading
RCS file: linklist.c,v Working file: linklist.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: created linklist inserted nodes at the end inserted nodes at the beginning —————————- … Continue reading
RCS file: linklist28_2.c,v Working file: linklist28_2.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: created linklist using functions. created insert at the end of linklist function. —————————- … Continue reading
RCS file: ./lseek.c,v Working file: ./lseek.c head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: lseek operation done. revision 1.3 date: 2014/02/27 18:30:59; author: root; state: Exp; lines: +7 -0 … Continue reading
RCS file: stack.c,v Working file: stack.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: created a stack and implemented push statemnet. —————————- revision 1.2 locked by: root; … Continue reading