Back to index

glibc  2.9
Functions
_exit.c File Reference
#include <unistd.h>
#include <stdlib.h>
#include "m68020.h"

Go to the source code of this file.

Functions

void __exit_trap ()
void __attribute__ ((noreturn))

Function Documentation

void __attribute__ ( (noreturn)  )

Definition at line 41 of file _exit.c.

{
  /* status is ignored */

  M68Kvec[ 45 ] = __exit_trap;   /* install exit_trap handler */
  asm volatile( "trap #13" );  /* insures SUPV mode */
}

Here is the call graph for this function:

void __exit_trap ( )

Definition at line 28 of file _exit.c.

{
  set_vbr( 0 );                     /* restore 135Bug vectors */
  asm volatile( "trap   #15"  );    /* trap to 135Bug */
  asm volatile( ".short 0x63" );    /* return to 135Bug (.RETURN) */
  asm volatile( "jmp    main" );    /* restart program */
}

Here is the caller graph for this function: