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




                                                                
                            
                                                    
                                                
  


                                                           



        










                                                   
/*
 *  exit
 *
 *  This routine returns control to "the pre-RTEMS environment".
 *
 *  COPYRIGHT (c) 1989-1997.
 *  On-Line Applications Research Corporation (OAR).
 *  Copyright assigned to U.S. Government, 1994.
 *
 *  The license and distribution terms for this file may in
 *  the file LICENSE in this distribution or at
 *  http://www.OARcorp.com/rtems/license.html.
 *
 *  $Id$
 */

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

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

   Io_cleanup();

   bsp_cleanup();
}