##### Ninja Library - System Function

# njExitSystem

Performs system termination processing

### FORMAT

`

  void njExitSystem( void )

`

### PARAMETER

  None

### RETURN

  None

### DESCRIPTION

  Performs system termination processing.

### EXAMPLE

      void njUserInit(void)
      {
       sbInitSystem( NJD_RESOLUTION_VGA, NJD_FRAMEBUFFER_MODE_RGB565, 1 );
      	:
      }
      Sint32 njUserMain(void)
      {
      	:
      }
      void njUserExit(void)
      {
       /* Call sbExitSystem from inner njExitSystem */
       sbExitSystem();
      }

### NOTE

  `njExitSystem()` function is executed inside `sbExitSystem()` function which performs all system termination processing. Generally, use `sbExitSystem()` function instead of this function.

### REFERENCE

  `njInitSystem()
  `

njExitSystem

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999