home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man2 / exit.2 < prev    next >
Encoding:
Text File  |  1975-06-26  |  514 b   |  34 lines

  1. .th EXIT II 8/5/73
  2. .sh NAME
  3. exit \*- terminate process
  4. .s3
  5. .sh SYNOPSIS
  6. (exit = 1.)
  7. .br
  8. (status in r0)
  9. .br
  10. .ft B
  11. sys exit
  12. .s3
  13. exit(status)
  14. .br
  15. int status;
  16. .ft R
  17. .sh DESCRIPTION
  18. .it Exit
  19. is the normal means of terminating a process.
  20. .it Exit
  21. closes all the process's files and notifies the parent process
  22. if it is executing a
  23. .it wait.
  24. The low byte of r0
  25. (resp. the argument to
  26. \fIexit\fR)
  27. is available as status to the parent process.
  28. .s3
  29. This call can never return.
  30. .sh "SEE ALSO"
  31. wait (II)
  32. .sh DIAGNOSTICS
  33. None.
  34.