summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/unix/posix/startup/exit.c
blob: 67523403d1783fbeaee47d53f7ee88816d22ec38 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                                
                            
                                                    
  

                                                           
                                         



        
                
                           








                                                   
/*
 *  exit
 *
 *  This routine returns control to "the pre-RTEMS environment".
 *
 *  COPYRIGHT (c) 1989-1999.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

#include <bsp.h>
#include <rtems/clockdrv.h>

void _exit( void )
{
   /* Clock or Timer cleanup is run by at_exit() */

   Io_cleanup();

   bsp_cleanup();
}