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
  • 2,933
  • 1
  • 21
  • 32

0 Answers0