[hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl

  • From: Xin Gu <eric.nevup@xxxxxxxxx>
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Mon, 13 Feb 2012 10:50:41 +0200

      if ((pid = fork())>  0) {
          serv_pid = pid;
          printf("server pid: %d\n", serv_pid);
      }

      if (pid == 0) {
          if (execv("test/hipnetcat", serv_argv)) {
              perror("execv");
              return;
          }
      }

you mean&&  this two if statements? I am confused, they are 2 processes
here I don't know how can you do that...

Forget about what I am saying here, I get your point now :)

Xin

Other related posts: