symbols_exit.hss 508 B

1234567891011121314
  1. [Main]
  2. Title=_exit
  3. [Top]
  4. Usually, this symbol is not handled in a special way. However, if it does
  5. not exist at all, it is redirected to the entry point of the program. The
  6. effect is that constructs of the form
  7. <PRE>.word _exit-<I>entry_point</I>
  8. </PRE>
  9. resolve to 0 if the symbol is undefined.
  10. <BR><BR>
  11. The kernel headers of the standard library reference this symbol as the
  12. program/library destructor. For kernel programs and libraries, it is called
  13. whenever the program exits or the library is unloaded.