raise.c 337 B

1234567891011121314
  1. /* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
  2. * This file is part of the Linux-8086 C library and is distributed
  3. * under the GNU Library General Public License.
  4. */
  5. #include <unistd.h>
  6. #include <string.h>
  7. #include <signal.h>
  8. #include <sys/types.h>
  9. int raise(int signo)
  10. {
  11. return kill(getpid(), signo);
  12. }