Comment

Comment by kryptiskt

"The third and last process control system call used by the Shell is

      processid, status = wait()
This primitive causes its caller to suspend execution until one of its children has completed execution. Then wait returns the processid of the terminated process and a status value indicating how the process died. (Processes which are never waited for die unnoticed and presumably unmourned)."

A lost opportunity to give C multiple return values.

parent kryptiskt 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton