head 1.2; access; symbols; locks root:1.2; strict; comment @ * @; 1.2 date 2014.03.27.10.38.34; author root; state Exp; branches; next 1.1; 1.1 date 2014.03.26.10.31.39; author root; state Exp; branches; next ; desc @complete program without display fuction @ 1.2 log … Continue reading
At the end, string array return a null character but in case of character array it will not happen
what is name resolution in hosts file in nfs server?? how it works??
this is the simple and conceptual programme on structure, which is used to hold the structure variable in the array of structure. we can also implement the array if structure as show below: #include<stdio.h> struct abc { int a; int … Continue reading
RCS file: sema.c,v Working file: sema.c head: 1.8 branch: locks: strict akshat: 1.8 access list: symbolic names: keyword substitution: kv total revisions: 8; selected revisions: 8 description: This is communication btw 3 clients and central server. all are sendings requests … Continue reading
Semaphore is quiet easy and simple… Lets take an example from our real life which makes semaphore a simple task for me…. when we are using a printer on lan network and ten’s of computer are connected to the same … Continue reading
FILE * For C File I/O you need to use a FILE pointer, which will let the program keep track of the file being accessed. (You can think of it as the memory address of the file or the location … Continue reading
FILE * For C File I/O you need to use a FILE pointer, which will let the program keep track of the file being accessed. (You can think of it as the memory address of the file or the location … Continue reading
head 1.1; access; symbols; locks arjun:1.1; strict; comment @ * @; 1.1 date 2014.03.21.15.02.57; author arjun; state Exp; branches; next ; desc @we are making a server which has 3 requesting client and 3 processing client but right now it … Continue reading
1 #include<stdio.h> 2 struct distance 3 { 4 int inch; 5 int feet; 6 float meter; 7 float cm; 8 }; 9 void input(struct distance *,struct distance *); 10 int addist(struct distance *,struct distance *,struct distance *); 11 void display(struct … Continue reading
Semaphores let processes query or alter status information. They are often used to monitor and control the availability of system resources such as shared memory segments. semaphore set must be initialized using semget(); the semaphore creator can change its ownership … Continue reading
the operator for preprocessing is # (it is already processed) the steps followed while processin are:- 1.preprocessor – in this .c is converted to—->.i file In stdio.h there are 3 things a)stdout b)stdin c)stduser keyboard—————–>program——————>terminal … Continue reading
Introduction to Cross Compilation This post is the first in a series on cross compilation. In this series I’ll introduce the concept of cross compilation, and how to used it. Although there are many different uses for cross compilation, I’ll … Continue reading
RCS file: ipc_fifoserver.c,v Working file: ipc_fifoserver.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 common fifo for requesting clients(3) implemented semaphore created common result fifo and … Continue reading
MESSAGE QUEUES message queues are like pipes, only difference is that in pipes data go byte by byte. but in message queues ,message go block by block. message queues use user free space. message have 2 parts— 1. contol 2.data … Continue reading