gets always shows the warning because it,s takes always more than given space so unused space is waste in gets but fgets not take more than declayred space.but if we don,t know the size of data th…
insertion of node
-at beginning
-at position
-at end
deletion of node
-at beginning
-at position
-at end
display the linked list
steps:
create a function for creation of linked list
insert the…
I have Succeessfully implemented communication between separate processes using pipes.
Pipes are used to send data with use of stream from one process to another process.Pipes can be only used in a p…
i am working on clients server problem by using two FIFO. one for requesting FIFO for all clients and one resulting FIFO for all clients. i have implemented it by using semaphore if any query regard…
The Dynamic Host Configuration Protocol is used by computers for requesting Internet Protocol parameters, such as an IP address from a network server. The protocol operates based on the client-server…
The Dynamic Host Configuration Protocol is used by computers for requesting Internet Protocol parameters, such as an IP address from a network server. The protocol operates based on the client-server…
Semaphores are a programming construct designed by
E. W. Dijkstra in the late 1960s. Dijkstra's model was the operation of
railroads: consider a stretch of railroad in which there is a single
…
we know in gcc the the size of int is 4 bytes and we want to print the individual bytes of it ....eg. like if we have a integer variable (unsigned int a=256) the equivalent binary representation is (…
The primitive for creating a pipe is the `pipe' function. This creates
both the reading and writing ends of the pipe. It is not very useful
for a single process to use a pipe to talk to itself…
Pipes are basis of INTERPROCESS COMMUNICATION, It is form of data transfer from one process to another. Pipes generally communicate in HALF DUPLEX MODE i.e at one time only one process can input in p…
Hi All,
I am confused in design for client-server project.i tried client-server application with pipe but facing lots of issues.please let me know how should i try client-server application with pipe…
it is easy to find the length of string since there is a null character' \0' at the end of string..but in the array of integer there is no such null characcter ..then how can we program to …
i m trying to start a service it is showing an error :-
[root@himanshu vsftpd]# service vsftpd start
Redirecting to /bin/systemctl start vsftpd.service
Job failed. See system journal and 'syst…
Today i did kernal compilation but i stuck at some point first is when we compile it after selecting the packages.where it to be exactly used and how can it be practically used, would it be used when…
Today i successfully store a uEnv.txt on the target's sd card which load a further a uEnv.txt stored under tftp directory on host or other server and that final uEnv.txt loads the uImage from t…
I am working on USB to Serial converter driver. So far I am done with finding end points, address and types of endpoint on pl2303. Now i need to set Baud rate for this device. Data sheet of pl2303 sa…
Linux Process States
Linux process are execute much like real
life. They are born, share resources with parents, get own copy of resources when ready to make changes, execute
through various sta…