The below program is a simple implementation of pipe in c. In this, the child thread takes the input and the parent child reads it.
int pfds;char buf;
printf("CHILD:writing to the pipen");
printf("PARENT : reading from pipen");
Latest posts by Bikash Panda (see all)
- Firmata protocol with Raspberry Pi and Arduino - September 13, 2017
- IOT:Power outlet controlled from internet using WeMOS - August 9, 2017
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017