1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119
|
<?php
/** @generate-class-entries */
/* Wait Constants */
namespace
{
#ifdef WNOHANG
/**
* @var int
* @cvalue LONG_CONST(WNOHANG)
*/
const WNOHANG = UNKNOWN;
#endif
#ifdef WUNTRACED
/**
* @var int
* @cvalue LONG_CONST(WUNTRACED)
*/
const WUNTRACED = UNKNOWN;
#endif
#ifdef HAVE_WCONTINUED
/**
* @var int
* @cvalue LONG_CONST(WCONTINUED)
*/
const WCONTINUED = UNKNOWN;
#endif
#if defined (HAVE_DECL_WEXITED) && HAVE_DECL_WEXITED == 1
/**
* @var int
* @cvalue LONG_CONST(WEXITED)
*/
const WEXITED = UNKNOWN;
#endif
#if defined (HAVE_DECL_WSTOPPED) && HAVE_DECL_WSTOPPED == 1
/**
* @var int
* @cvalue LONG_CONST(WSTOPPED)
*/
const WSTOPPED = UNKNOWN;
#endif
#if defined (HAVE_DECL_WNOWAIT) && HAVE_DECL_WNOWAIT== 1
/**
* @var int
* @cvalue LONG_CONST(WNOWAIT)
*/
const WNOWAIT = UNKNOWN;
#endif
#ifdef HAVE_WAITID
/* First argument to waitid */
#ifdef HAVE_POSIX_IDTYPES
/**
* @var int
* @cvalue LONG_CONST(P_ALL)
*/
const P_ALL = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(P_PID)
*/
const P_PID = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(P_PGID)
*/
const P_PGID = UNKNOWN;
#endif
/* Linux specific idtype */
#ifdef HAVE_LINUX_IDTYPES
/**
* @var int
* @cvalue LONG_CONST(P_PIDFD)
*/
const P_PIDFD = UNKNOWN;
#endif
/* NetBSD specific idtypes */
#ifdef HAVE_NETBSD_IDTYPES
/**
* @var int
* @cvalue LONG_CONST(P_UID)
*/
const P_UID = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(P_GID)
*/
const P_GID = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(P_SID)
*/
const P_SID = UNKNOWN;
#endif
/* FreeBSD specific idtype */
#ifdef HAVE_FREEBSD_IDTYPES
/**
* @var int
* @cvalue LONG_CONST(P_JAILID)
*/
const P_JAILID = UNKNOWN;
#endif
#endif
/* Signal Constants */
/**
* @var int
* @cvalue LONG_CONST(SIG_IGN)
*/
const SIG_IGN = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIG_DFL)
*/
const SIG_DFL = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIG_ERR)
*/
const SIG_ERR = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGHUP)
*/
const SIGHUP = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGINT)
*/
const SIGINT = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGQUIT)
*/
const SIGQUIT = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGILL)
*/
const SIGILL = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGTRAP)
*/
const SIGTRAP = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGABRT)
*/
const SIGABRT = UNKNOWN;
#ifdef SIGIOT
/**
* @var int
* @cvalue LONG_CONST(SIGIOT)
*/
const SIGIOT = UNKNOWN;
#endif
/**
* @var int
* @cvalue LONG_CONST(SIGBUS)
*/
const SIGBUS = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGFPE)
*/
const SIGFPE = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGKILL)
*/
const SIGKILL = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGUSR1)
*/
const SIGUSR1 = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGSEGV)
*/
const SIGSEGV = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGUSR2)
*/
const SIGUSR2 = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGPIPE)
*/
const SIGPIPE = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGALRM)
*/
const SIGALRM = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGTERM)
*/
const SIGTERM = UNKNOWN;
#ifdef SIGSTKFLT
/**
* @var int
* @cvalue LONG_CONST(SIGSTKFLT)
*/
const SIGSTKFLT = UNKNOWN;
#endif
#ifdef SIGCLD
/**
* @var int
* @cvalue LONG_CONST(SIGCLD)
*/
const SIGCLD = UNKNOWN;
#endif
#ifdef SIGCHLD
/**
* @var int
* @cvalue LONG_CONST(SIGCHLD)
*/
const SIGCHLD = UNKNOWN;
#endif
/**
* @var int
* @cvalue LONG_CONST(SIGCONT)
*/
const SIGCONT = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGSTOP)
*/
const SIGSTOP = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGTSTP)
*/
const SIGTSTP = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGTTIN)
*/
const SIGTTIN = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGTTOU)
*/
const SIGTTOU = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGURG)
*/
const SIGURG = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGXCPU)
*/
const SIGXCPU = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGXFSZ)
*/
const SIGXFSZ = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGVTALRM)
*/
const SIGVTALRM = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGPROF)
*/
const SIGPROF = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGWINCH)
*/
const SIGWINCH = UNKNOWN;
#ifdef SIGPOLL
/**
* @var int
* @cvalue LONG_CONST(SIGPOLL)
*/
const SIGPOLL = UNKNOWN;
#endif
#ifdef SIGIO
/**
* @var int
* @cvalue LONG_CONST(SIGIO)
*/
const SIGIO = UNKNOWN;
#endif
#ifdef SIGPWR
/**
* @var int
* @cvalue LONG_CONST(SIGPWR)
*/
const SIGPWR = UNKNOWN;
#endif
#ifdef SIGINFO
/**
* @var int
* @cvalue LONG_CONST(SIGINFO)
*/
const SIGINFO = UNKNOWN;
#endif
#ifdef SIGSYS
/**
* @var int
* @cvalue LONG_CONST(SIGSYS)
*/
const SIGSYS = UNKNOWN;
/**
* @var int
* @cvalue LONG_CONST(SIGSYS)
*/
const SIGBABY = UNKNOWN;
#endif
#ifdef SIGCKPT
/**
* @var int
* @cvalue LONG_CONST(SIGCKPT)
*/
const SIGCKPT = UNKNOWN;
#endif
#ifdef SIGCKPTEXIT
/**
* @var int
* @cvalue LONG_CONST(SIGCKPTEXIT)
*/
const SIGCKPTEXIT = UNKNOWN;
#endif
#ifdef SIGRTMIN
/**
* @var int
* @cvalue LONG_CONST(SIGRTMIN)
*/
const SIGRTMIN = UNKNOWN;
#endif
#ifdef SIGRTMAX
/**
* @var int
* @cvalue LONG_CONST(SIGRTMAX)
*/
const SIGRTMAX = UNKNOWN;
#endif
#if (defined(HAVE_GETPRIORITY) || defined(HAVE_SETPRIORITY))
/**
* @var int
* @cvalue PRIO_PGRP
*/
const PRIO_PGRP = UNKNOWN;
/**
* @var int
* @cvalue PRIO_USER
*/
const PRIO_USER = UNKNOWN;
/**
* @var int
* @cvalue PRIO_PROCESS
*/
const PRIO_PROCESS = UNKNOWN;
#if defined(PRIO_DARWIN_BG)
/**
* @var int
* @cvalue PRIO_DARWIN_BG
*/
const PRIO_DARWIN_BG = UNKNOWN;
/**
* @var int
* @cvalue PRIO_DARWIN_THREAD
*/
const PRIO_DARWIN_THREAD = UNKNOWN;
#endif
#endif
/* "mode" argument for sigprocmask */
#ifdef HAVE_SIGPROCMASK
/**
* @var int
* @cvalue SIG_BLOCK
*/
const SIG_BLOCK = UNKNOWN;
/**
* @var int
* @cvalue SIG_UNBLOCK
*/
const SIG_UNBLOCK = UNKNOWN;
/**
* @var int
* @cvalue SIG_SETMASK
*/
const SIG_SETMASK = UNKNOWN;
#endif
#if (defined(HAVE_SIGWAITINFO) && defined(HAVE_SIGTIMEDWAIT))
/**
* @var int
* @cvalue SI_USER
*/
const SI_USER = UNKNOWN;
#ifdef SI_NOINFO
/**
* @var int
* @cvalue SI_NOINFO
*/
const SI_NOINFO = UNKNOWN;
#endif
#ifdef SI_KERNEL
/**
* @var int
* @cvalue SI_KERNEL
*/
const SI_KERNEL = UNKNOWN;
#endif
/**
* @var int
* @cvalue SI_QUEUE
*/
const SI_QUEUE = UNKNOWN;
/**
* @var int
* @cvalue SI_TIMER
*/
const SI_TIMER = UNKNOWN;
/**
* @var int
* @cvalue SI_MESGQ
*/
const SI_MESGQ = UNKNOWN;
/**
* @var int
* @cvalue SI_ASYNCIO
*/
const SI_ASYNCIO = UNKNOWN;
#ifdef SI_SIGIO
/**
* @var int
* @cvalue SI_SIGIO
*/
const SI_SIGIO = UNKNOWN;
#endif
#ifdef SI_TKILL
/**
* @var int
* @cvalue SI_TKILL
*/
const SI_TKILL = UNKNOWN;
#endif
/* si_code for SIGCHILD */
#ifdef CLD_EXITED
/**
* @var int
* @cvalue CLD_EXITED
*/
const CLD_EXITED = UNKNOWN;
#endif
#ifdef CLD_KILLED
/**
* @var int
* @cvalue CLD_KILLED
*/
const CLD_KILLED = UNKNOWN;
#endif
#ifdef CLD_DUMPED
/**
* @var int
* @cvalue CLD_DUMPED
*/
const CLD_DUMPED = UNKNOWN;
#endif
#ifdef CLD_TRAPPED
/**
* @var int
* @cvalue CLD_TRAPPED
*/
const CLD_TRAPPED = UNKNOWN;
#endif
#ifdef CLD_STOPPED
/**
* @var int
* @cvalue CLD_STOPPED
*/
const CLD_STOPPED = UNKNOWN;
#endif
#ifdef CLD_CONTINUED
/**
* @var int
* @cvalue CLD_CONTINUED
*/
const CLD_CONTINUED = UNKNOWN;
#endif
/* si_code for SIGTRAP */
#ifdef TRAP_BRKPT
/**
* @var int
* @cvalue TRAP_BRKPT
*/
const TRAP_BRKPT = UNKNOWN;
#endif
#ifdef TRAP_TRACE
/**
* @var int
* @cvalue TRAP_TRACE
*/
const TRAP_TRACE = UNKNOWN;
#endif
/* si_code for SIGPOLL */
#ifdef POLL_IN
/**
* @var int
* @cvalue POLL_IN
*/
const POLL_IN = UNKNOWN;
#endif
#ifdef POLL_OUT
/**
* @var int
* @cvalue POLL_OUT
*/
const POLL_OUT = UNKNOWN;
#endif
#ifdef POLL_MSG
/**
* @var int
* @cvalue POLL_MSG
*/
const POLL_MSG = UNKNOWN;
#endif
#ifdef POLL_ERR
/**
* @var int
* @cvalue POLL_ERR
*/
const POLL_ERR = UNKNOWN;
#endif
#ifdef POLL_PRI
/**
* @var int
* @cvalue POLL_PRI
*/
const POLL_PRI = UNKNOWN;
#endif
#ifdef POLL_HUP
/**
* @var int
* @cvalue POLL_HUP
*/
const POLL_HUP = UNKNOWN;
#endif
#ifdef ILL_ILLOPC
/**
* @var int
* @cvalue ILL_ILLOPC
*/
const ILL_ILLOPC = UNKNOWN;
#endif
#ifdef ILL_ILLOPN
/**
* @var int
* @cvalue ILL_ILLOPN
*/
const ILL_ILLOPN = UNKNOWN;
#endif
#ifdef ILL_ILLADR
/**
* @var int
* @cvalue ILL_ILLADR
*/
const ILL_ILLADR = UNKNOWN;
#endif
#ifdef ILL_ILLTRP
/**
* @var int
* @cvalue ILL_ILLTRP
*/
const ILL_ILLTRP = UNKNOWN;
#endif
#ifdef ILL_PRVOPC
/**
* @var int
* @cvalue ILL_PRVOPC
*/
const ILL_PRVOPC = UNKNOWN;
#endif
#ifdef ILL_PRVREG
/**
* @var int
* @cvalue ILL_PRVREG
*/
const ILL_PRVREG = UNKNOWN;
#endif
#ifdef ILL_COPROC
/**
* @var int
* @cvalue ILL_COPROC
*/
const ILL_COPROC = UNKNOWN;
#endif
#ifdef ILL_BADSTK
/**
* @var int
* @cvalue ILL_BADSTK
*/
const ILL_BADSTK = UNKNOWN;
#endif
#ifdef FPE_INTDIV
/**
* @var int
* @cvalue FPE_INTDIV
*/
const FPE_INTDIV = UNKNOWN;
#endif
#ifdef FPE_INTOVF
/**
* @var int
* @cvalue FPE_INTOVF
*/
const FPE_INTOVF = UNKNOWN;
#endif
#ifdef FPE_FLTDIV
/**
* @var int
* @cvalue FPE_FLTDIV
*/
const FPE_FLTDIV = UNKNOWN;
#endif
#ifdef FPE_FLTOVF
/**
* @var int
* @cvalue FPE_FLTOVF
*/
const FPE_FLTOVF = UNKNOWN;
#endif
#ifdef FPE_FLTUND
/**
* @var int
* @cvalue FPE_FLTUND
*/
const FPE_FLTUND = UNKNOWN;
#endif
#ifdef FPE_FLTRES
/**
* @var int
* @cvalue FPE_FLTRES
*/
const FPE_FLTRES = UNKNOWN;
#endif
#ifdef FPE_FLTINV
/**
* @var int
* @cvalue FPE_FLTINV
*/
const FPE_FLTINV = UNKNOWN;
#endif
#ifdef FPE_FLTSUB
/**
* @var int
* @cvalue FPE_FLTSUB
*/
const FPE_FLTSUB = UNKNOWN;
#endif
#ifdef SEGV_MAPERR
/**
* @var int
* @cvalue SEGV_MAPERR
*/
const SEGV_MAPERR = UNKNOWN;
#endif
#ifdef SEGV_ACCERR
/**
* @var int
* @cvalue SEGV_ACCERR
*/
const SEGV_ACCERR = UNKNOWN;
#endif
#ifdef BUS_ADRALN
/**
* @var int
* @cvalue BUS_ADRALN
*/
const BUS_ADRALN = UNKNOWN;
#endif
#ifdef BUS_ADRERR
/**
* @var int
* @cvalue BUS_ADRERR
*/
const BUS_ADRERR = UNKNOWN;
#endif
#ifdef BUS_OBJERR
/**
* @var int
* @cvalue BUS_OBJERR
*/
const BUS_OBJERR = UNKNOWN;
#endif
#endif
/* unshare(/clone) constants */
#ifdef HAVE_UNSHARE
/**
* @var int
* @cvalue CLONE_NEWNS
*/
const CLONE_NEWNS = UNKNOWN;
#ifdef CLONE_NEWIPC
/**
* @var int
* @cvalue CLONE_NEWIPC
*/
const CLONE_NEWIPC = UNKNOWN;
#endif
#ifdef CLONE_NEWUTS
/**
* @var int
* @cvalue CLONE_NEWUTS
*/
const CLONE_NEWUTS = UNKNOWN;
#endif
#ifdef CLONE_NEWNET
/**
* @var int
* @cvalue CLONE_NEWNET
*/
const CLONE_NEWNET = UNKNOWN;
#endif
#ifdef CLONE_NEWPID
/**
* @var int
* @cvalue CLONE_NEWPID
*/
const CLONE_NEWPID = UNKNOWN;
#endif
#ifdef CLONE_NEWUSER
/**
* @var int
* @cvalue CLONE_NEWUSER
*/
const CLONE_NEWUSER = UNKNOWN;
#endif
#ifdef CLONE_NEWCGROUP
/**
* @var int
* @cvalue CLONE_NEWCGROUP
*/
const CLONE_NEWCGROUP = UNKNOWN;
#endif
#endif
#ifdef HAVE_RFORK
#ifdef RFPROC
/**
* @var int
* @cvalue RFPROC
*/
const RFPROC = UNKNOWN;
#endif
#ifdef RFNOWAIT
/**
* @var int
* @cvalue RFNOWAIT
*/
const RFNOWAIT = UNKNOWN;
#endif
#ifdef RFCFDG
/**
* @var int
* @cvalue RFCFDG
*/
const RFCFDG = UNKNOWN;
#endif
#ifdef RFFDG
/**
* @var int
* @cvalue RFFDG
*/
const RFFDG = UNKNOWN;
#endif
#ifdef RFLINUXTHPN
/**
* @var int
* @cvalue RFLINUXTHPN
*/
const RFLINUXTHPN = UNKNOWN;
#endif
#ifdef RFTSIGZMB
/**
* @var int
* @cvalue RFTSIGZMB
*/
const RFTSIGZMB = UNKNOWN;
#endif
#ifdef RFTHREAD
/**
* @var int
* @cvalue RFTHREAD
*/
const RFTHREAD = UNKNOWN;
#endif
#endif
#ifdef HAVE_FORKX
/**
* @var int
* @cvalue FORK_NOSIGCHLD
*/
const FORK_NOSIGCHLD = UNKNOWN;
/**
* @var int
* @cvalue FORK_WAITPID
*/
const FORK_WAITPID = UNKNOWN;
#endif
#ifdef EINTR
/**
* @var int
* @cvalue EINTR
*/
const PCNTL_EINTR = UNKNOWN;
#endif
#ifdef ECHILD
/**
* @var int
* @cvalue ECHILD
*/
const PCNTL_ECHILD = UNKNOWN;
#endif
#ifdef EINVAL
/**
* @var int
* @cvalue EINVAL
*/
const PCNTL_EINVAL = UNKNOWN;
#endif
#ifdef EAGAIN
/**
* @var int
* @cvalue EAGAIN
*/
const PCNTL_EAGAIN = UNKNOWN;
#endif
#ifdef ESRCH
/**
* @var int
* @cvalue ESRCH
*/
const PCNTL_ESRCH = UNKNOWN;
#endif
#ifdef EACCES
/**
* @var int
* @cvalue EACCES
*/
const PCNTL_EACCES = UNKNOWN;
#endif
#ifdef EPERM
/**
* @var int
* @cvalue EPERM
*/
const PCNTL_EPERM = UNKNOWN;
#endif
#ifdef ENOMEM
/**
* @var int
* @cvalue ENOMEM
*/
const PCNTL_ENOMEM = UNKNOWN;
#endif
#ifdef E2BIG
/**
* @var int
* @cvalue E2BIG
*/
const PCNTL_E2BIG = UNKNOWN;
#endif
#ifdef EFAULT
/**
* @var int
* @cvalue EFAULT
*/
const PCNTL_EFAULT = UNKNOWN;
#endif
#ifdef EIO
/**
* @var int
* @cvalue EIO
*/
const PCNTL_EIO = UNKNOWN;
#endif
#ifdef EISDIR
/**
* @var int
* @cvalue EISDIR
*/
const PCNTL_EISDIR = UNKNOWN;
#endif
#ifdef ELIBBAD
/**
* @var int
* @cvalue ELIBBAD
*/
const PCNTL_ELIBBAD = UNKNOWN;
#endif
#ifdef ELOOP
/**
* @var int
* @cvalue ELOOP
*/
const PCNTL_ELOOP = UNKNOWN;
#endif
#ifdef EMFILE
/**
* @var int
* @cvalue EMFILE
*/
const PCNTL_EMFILE = UNKNOWN;
#endif
#ifdef ENAMETOOLONG
/**
* @var int
* @cvalue ENAMETOOLONG
*/
const PCNTL_ENAMETOOLONG = UNKNOWN;
#endif
#ifdef ENFILE
/**
* @var int
* @cvalue ENFILE
*/
const PCNTL_ENFILE = UNKNOWN;
#endif
#ifdef ENOENT
/**
* @var int
* @cvalue ENOENT
*/
const PCNTL_ENOENT = UNKNOWN;
#endif
#ifdef ENOEXEC
/**
* @var int
* @cvalue ENOEXEC
*/
const PCNTL_ENOEXEC = UNKNOWN;
#endif
#ifdef ENOTDIR
/**
* @var int
* @cvalue ENOTDIR
*/
const PCNTL_ENOTDIR = UNKNOWN;
#endif
#ifdef ETXTBSY
/**
* @var int
* @cvalue ETXTBSY
*/
const PCNTL_ETXTBSY = UNKNOWN;
#endif
#ifdef ENOSPC
/**
* @var int
* @cvalue ENOSPC
*/
const PCNTL_ENOSPC = UNKNOWN;
#endif
#ifdef EUSERS
/**
* @var int
* @cvalue EUSERS
*/
const PCNTL_EUSERS = UNKNOWN;
#endif
#ifdef ECAPMODE
/**
* @var int
* @cvalue ECAPMODE
*/
const PCNTL_ECAPMODE = UNKNOWN;
#endif
function pcntl_fork(): int {}
/**
* @param int $status
* @param array $resource_usage
*/
function pcntl_waitpid(int $process_id, &$status, int $flags = 0, &$resource_usage = []): int {}
#if defined (HAVE_WAITID) && defined (HAVE_POSIX_IDTYPES) && defined (HAVE_DECL_WEXITED) && HAVE_DECL_WEXITED == 1
/** @param array $info */
function pcntl_waitid(int $idtype = P_ALL, ?int $id = null, &$info = [], int $flags = WEXITED): bool {}
#endif
/**
* @param int $status
* @param array $resource_usage
*/
function pcntl_wait(&$status, int $flags = 0, &$resource_usage = []): int {}
/** @param callable|int $handler */
function pcntl_signal(int $signal, $handler, bool $restart_syscalls = true): bool {}
/** @return callable|int */
function pcntl_signal_get_handler(int $signal) {}
function pcntl_signal_dispatch(): bool {}
#ifdef HAVE_SIGPROCMASK
/** @param array $old_signals */
function pcntl_sigprocmask(int $mode, array $signals, &$old_signals = null): bool {}
#endif
#ifdef HAVE_STRUCT_SIGINFO_T
#if (defined(HAVE_SIGWAITINFO) && defined(HAVE_SIGTIMEDWAIT))
/** @param array $info */
function pcntl_sigwaitinfo(array $signals, &$info = []): int|false {}
/** @param array $info */
function pcntl_sigtimedwait(array $signals, &$info = [], int $seconds = 0, int $nanoseconds = 0): int|false {}
#endif
#endif
function pcntl_wifexited(int $status): bool {}
function pcntl_wifstopped(int $status): bool {}
#ifdef HAVE_WCONTINUED
function pcntl_wifcontinued(int $status): bool {}
#endif
function pcntl_wifsignaled(int $status): bool {}
function pcntl_wexitstatus(int $status): int|false {}
function pcntl_wtermsig(int $status): int|false {}
function pcntl_wstopsig(int $status): int|false {}
function pcntl_exec(string $path, array $args = [], array $env_vars = []): bool {}
function pcntl_alarm(int $seconds): int {}
function pcntl_get_last_error(): int {}
/** @alias pcntl_get_last_error */
function pcntl_errno(): int {}
#ifdef HAVE_GETPRIORITY
function pcntl_getpriority(?int $process_id = null, int $mode = PRIO_PROCESS): int|false {}
#endif
#ifdef HAVE_SETPRIORITY
function pcntl_setpriority(int $priority, ?int $process_id = null, int $mode = PRIO_PROCESS): bool{}
#endif
function pcntl_strerror(int $error_code): string {}
function pcntl_async_signals(?bool $enable = null): bool {}
#ifdef HAVE_UNSHARE
function pcntl_unshare(int $flags): bool {}
#endif
#ifdef HAVE_RFORK
function pcntl_rfork(int $flags, int $signal = 0): int{}
#endif
#ifdef HAVE_FORKX
function pcntl_forkx(int $flags): int{}
#endif
#ifdef HAVE_PIDFD_OPEN
function pcntl_setns(?int $process_id = null, int $nstype = CLONE_NEWNET): bool {}
#endif
#ifdef HAVE_SCHED_SETAFFINITY
function pcntl_getcpuaffinity(?int $process_id = null): array|false {}
function pcntl_setcpuaffinity(?int $process_id = null, array $cpu_ids = []): bool {}
#endif
#ifdef HAVE_SCHED_GETCPU
function pcntl_getcpu(): int {}
#endif
#ifdef HAVE_PTHREAD_SET_QOS_CLASS_SELF_NP
function pcntl_getqos_class(): Pcntl\QosClass {}
function pcntl_setqos_class(Pcntl\QosClass $qos_class = Pcntl\QosClass::Default): void {}
#endif
}
namespace Pcntl
{
enum QosClass
{
case UserInteractive;
case UserInitiated;
case Default;
case Utility;
case Background;
}
}
|