Copyright Digital Equipment Corp. All rights reserved.

Return_Values

   x                  The process ID (PID) of the terminated child.
                      If more than one child process was created,
                      wait will return the PID of the terminated
                      child that was most recently created.
                      Subsequent calls will return the PID of the
                      next most recently created, but terminated,
                      child.
   -1                 No child process was spawned.