signal.h 280 B

12345678910111213141516171819202122
  1. #ifndef __GBLIBC_SIGNAL_H_
  2. #define __GBLIBC_SIGNAL_H_
  3. #include <sys/types.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #define SIGINT 2
  8. #define SIGQUIT 3
  9. #define SIGPIPE 13
  10. #define SIGSTOP 19
  11. int kill(pid_t pid, int sig);
  12. int raise(int sig);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif