summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/unix/posix/startup/exit.c
blob: d0a9eaecaaabf2ee1eced1c064dbd7d4f92b7e33 (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 be
 *  found 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();
}