In Unix, when a child process in background terminates, it sends a `SIGCHLD` signal to the parent to inform it that it terminated.

Does the same happen even if the process was in foreground? If so, this means the parent will just ignore it.

Is this right? Or if it is in foreground, then no signal is sent at all?