X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fprocess3.c;h=f06a381014d060f61d11baafe896d8d911b75282;hb=517b77e6e4502dabfee542f17d91201ef04fedff;hp=d5be26a12c2088dfe48748cb46ed1785757e5ae1;hpb=05e20db49d95955f0f00f546a7d02e4df023b805;p=wsti_so.git diff --git a/src/process3.c b/src/process3.c index d5be26a..f06a381 100644 --- a/src/process3.c +++ b/src/process3.c @@ -9,11 +9,11 @@ #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;