Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. while((bytes_r = read(pipes[i][0], buf, 1024)) > 0){
  2. printf("merdas\n");
  3. if(!(strcmp("OK\n",buf))){
  4. succ++;
  5. printf("%d\n", succ);
  6. }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement