root/lib/_exit.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. _exit

   1 /*
   2  *  linux/lib/_exit.c
   3  *
   4  *  Copyright (C) 1991, 1992  Linus Torvalds
   5  */
   6 
   7 #define __LIBRARY__
   8 #include <linux/unistd.h>
   9 
  10 volatile void _exit(int exit_code)
     /* [previous][next][first][last][top][bottom][index][help] */
  11 {
  12 fake_volatile:
  13         __asm__("movl %1,%%ebx\n\t"
  14                 "int $0x80"
  15                 : /* no outputs */
  16                 :"a" (__NR_exit),"g" (exit_code));
  17         goto fake_volatile;
  18 }

/* [previous][next][first][last][top][bottom][index][help] */