Does anyone know any good webpages or information that can help me learn pipes and forks? I've tried searching google and everything I read... I must admit has made me utterly confused.
Does anyone know any good webpages or information that can help me learn pipes and forks? I've tried searching google and everything I read... I must admit has made me utterly confused.
My best code is written with the delete key.
Thanks, that was a good start ^^
You wouldn't happen to know anymore though? *blush*
Especially related to Pipes
Do you want to know the principles or how to use them in your programs? For the latter I would suggest getting a book to help you. The applications are many when it comes to pipes and process forking.
My best code is written with the delete key.
I need to write a program, that begins with one process and forks to two (I understand how this works now), but I am still really confused with how you would implement a pipe to transfer messages between the two processes, mainly as I still have not figured out how a pipe works.
In specific: What is a File Descriptor? That's the main part of pipes I do not understand.
Mmm, recent posts by Schwarzhelm touched on this subject
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Some more available here
http://www.cs.cf.ac.uk/Dave/C/CE.html
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]