exit.html 548 B

123456789101112131415161718192021222324252627282930
  1. <html>
  2. <head>
  3. <title>exit</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>exit</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. exit - terminate program
  9. <h3>Library</h3>
  10. Standard C Library (libc, -lc)
  11. <h3>Synopsis</h3>
  12. #include &lt;stdlib.h&gt;<br>
  13. <br>
  14. int<br>
  15. exit(int <em>code</em>);
  16. <h3>Description</h3>
  17. exit causes the program to exit. It calls internal cleanup routines,
  18. and then performs the actual exit by calling
  19. <A HREF=../syscall/_exit.html>_exit</A>.
  20. <h3>Return Values</h3>
  21. exit does not return.
  22. </body>
  23. </html>