You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pcntl.php 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. // Licensed under Apache-2.0
  3. // Copied from https://github.com/JetBrains/phpstorm-stubs/blob/master/pcntl/pcntl.php
  4. define('WNOHANG', 1);
  5. define('WUNTRACED', 2);
  6. define('WCONTINUED', 8);
  7. define('SIG_IGN', 1);
  8. define('SIG_DFL', 0);
  9. define('SIG_ERR', -1);
  10. define('SIGHUP', 1);
  11. define('SIGINT', 2);
  12. define('SIGQUIT', 3);
  13. define('SIGILL', 4);
  14. define('SIGTRAP', 5);
  15. define('SIGABRT', 6);
  16. define('SIGIOT', 6);
  17. define('SIGBUS', 7);
  18. define('SIGFPE', 8);
  19. define('SIGKILL', 9);
  20. define('SIGUSR1', 10);
  21. define('SIGSEGV', 11);
  22. define('SIGUSR2', 12);
  23. define('SIGPIPE', 13);
  24. define('SIGALRM', 14);
  25. define('SIGTERM', 15);
  26. define('SIGSTKFLT', 16);
  27. define('SIGCLD', 17);
  28. define('SIGCHLD', 17);
  29. define('SIGCONT', 18);
  30. define('SIGSTOP', 19);
  31. define('SIGTSTP', 20);
  32. define('SIGTTIN', 21);
  33. define('SIGTTOU', 22);
  34. define('SIGURG', 23);
  35. define('SIGXCPU', 24);
  36. define('SIGXFSZ', 25);
  37. define('SIGVTALRM', 26);
  38. define('SIGPROF', 27);
  39. define('SIGWINCH', 28);
  40. define('SIGPOLL', 29);
  41. define('SIGIO', 29);
  42. define('SIGPWR', 30);
  43. define('SIGSYS', 31);
  44. define('SIGBABY', 31);
  45. define('PRIO_PGRP', 1);
  46. define('PRIO_USER', 2);
  47. define('PRIO_PROCESS', 0);