daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (i != (number_commands - 1))
  2. {
  3.     printf("child %s   %dn", commlist -> cmd, fd[i][1]);
  4.     dup2(fd[i][1], STDOUT_FILENO);
  5.     printf("child %sn", commlist -> cmd);
  6.     close(fd[i][1]);
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top