2

In C and Linux, does a similar function to waitpid exist but wait for non-child processes? I have the PID of a process (that is not my child), and I want to wait for its termination.

If it does not exist, what may be an elegant wait to perform this wait in C?

ocirocir
  • 3,543
  • 2
  • 24
  • 34

0 Answers0