Remove not used libraries and macros.
[wsti_so.git] / src / process3.c
index d5be26a12c2088dfe48748cb46ed1785757e5ae1..b2fe61c977e1865ae0941dee874396c81061e9af 100644 (file)
@@ -1,19 +1,14 @@
 #include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
 
 /* open/read/write/close */
 #include <fcntl.h>
 
-/** If buffer is too small to hold entire string, it is incremented by this value */
-#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;