home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.2 / LINUX-1.2 / LINUX-1 / linux / lib / _exit.c next >
Encoding:
C/C++ Source or Header  |  1995-01-04  |  289 b   |  22 lines

  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. #define exit __sys_exit
  11. static inline _syscall0(int, exit)
  12. #undef exit
  13.  
  14. volatile void _exit(int exit_code)
  15. {
  16. fake_volatile:
  17.     __sys_exit();
  18.     goto fake_volatile;
  19. }
  20.  
  21.  
  22.