#define BUFFER_STEP 16
/**
- * Program grabs data from process1, calculates number of characters in each line
- * and pass the value to process3.
+ * Program grabs data (calculated number of characters) from process2 and prints
+ * grabbed data to the standard output.
*/
int main(void) {
- /** Named pipe used to communicate with process1 */
+ /** Named pipe used to communicate with process2 */
char * read_pipe = "/tmp/process2pipe";
int read_descriptor;