ECHILD
ECHILD is an errno value used by POSIX-compliant systems to indicate that a process has no child processes to wait for. It is defined in errno.h and is commonly reported by wait, waitpid, and waitid when there are no unwaited-for child processes left for the calling process.
The typical meaning of ECHILD is that the calling process either has no children at all or
Strerror(ECHILD) on most systems yields "No child processes." The value of ECHILD is implementation-defined and may
In summary, ECHILD signals that there are no child processes left to wait for in the calling