News for hackers. Stuff that matters.
Re:Newly discovered earliest draft of a Unix manual (1971) by kryptiskt on Sunday December 27, 2015 @06:42PM (#10799146)
"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.

Re:Newly discovered earliest draft of a Unix manual (1971) by luckydude on Sunday December 27, 2015 @08:10PM (#10799344)
Um, structs?

typedef struct { pid_t pid; int status; } wait_t;

wait_t status = wait();

Re:Newly discovered earliest draft of a Unix manual (1971) by sebleblanc on Sunday December 27, 2015 @09:13PM (#10799505)
Tuple support, which in essence are anonymous structs, would have been very nice in C, too.