Code Search for Developers
 
 
  

_exit.c from Gdb at Krugle


Show _exit.c syntax highlighted

#include <_ansi.h>

int _kill _PARAMS ((int, int));
void _exit _PARAMS ((int));

void
_exit (int status)
{
  /* There is only one SWI for both _exit and _kill. For _exit, call
     the SWI with the second argument set to -1, an invalid value for
     signum, so that the SWI handler can distinguish the two calls.
     Note: The RDI implementation of _kill throws away both its
     arguments.  */
  _kill (status, -1);
}




See more files for this project here

Gdb

GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.

Project homepage: http://sources.redhat.com/gdb/
Programming language(s): Assembly,C,C++,Expect
License: other

  Makefile.in
  _exit.c
  _kill.c
  aclocal.m4
  coff-iq80310.specs
  coff-pid.specs
  coff-rdimon.specs
  coff-rdpmon.specs
  coff-redboot.ld
  coff-redboot.specs
  configure
  configure.in
  crt0.S
  elf-iq80310.specs
  elf-linux.specs
  elf-pid.specs
  elf-rdimon.specs
  elf-rdpmon.specs
  elf-redboot.ld
  elf-redboot.specs
  libcfunc.c
  linux-crt0.c
  linux-syscall.h
  linux-syscalls0.S
  linux-syscalls1.c
  redboot-crt0.S
  redboot-syscalls.c
  swi.h
  syscall.h
  syscalls.c
  trap.S