Lines Matching defs:status
2093 "_exit($module, /, status)\n"
2096 "Exit to the system with specified status, without normal exit processing.");
2102 os__exit_impl(PyObject *module, int status);
2108 static const char * const _keywords[] = {"status", NULL};
2111 int status;
2117 status = _PyLong_AsInt(args[0]);
2118 if (status == -1 && PyErr_Occurred()) {
2121 return_value = os__exit_impl(module, status);
3947 " (pid, status, rusage)");
3989 " (pid, status, rusage)");
4072 " (pid, status)\n"
4110 " (pid, status << 8)\n"
4148 " (pid, status)");
6549 "WCOREDUMP($module, status, /)\n"
6552 "Return True if the process returning status was dumped to a core file.");
6558 os_WCOREDUMP_impl(PyObject *module, int status);
6564 int status;
6567 status = _PyLong_AsInt(arg);
6568 if (status == -1 && PyErr_Occurred()) {
6571 _return_value = os_WCOREDUMP_impl(module, status);
6586 "WIFCONTINUED($module, /, status)\n"
6591 "Return True if the process returning status was continued from a\n"
6598 os_WIFCONTINUED_impl(PyObject *module, int status);
6604 static const char * const _keywords[] = {"status", NULL};
6607 int status;
6614 status = _PyLong_AsInt(args[0]);
6615 if (status == -1 && PyErr_Occurred()) {
6618 _return_value = os_WIFCONTINUED_impl(module, status);
6633 "WIFSTOPPED($module, /, status)\n"
6636 "Return True if the process returning status was stopped.");
6642 os_WIFSTOPPED_impl(PyObject *module, int status);
6648 static const char * const _keywords[] = {"status", NULL};
6651 int status;
6658 status = _PyLong_AsInt(args[0]);
6659 if (status == -1 && PyErr_Occurred()) {
6662 _return_value = os_WIFSTOPPED_impl(module, status);
6677 "WIFSIGNALED($module, /, status)\n"
6680 "Return True if the process returning status was terminated by a signal.");
6686 os_WIFSIGNALED_impl(PyObject *module, int status);
6692 static const char * const _keywords[] = {"status", NULL};
6695 int status;
6702 status = _PyLong_AsInt(args[0]);
6703 if (status == -1 && PyErr_Occurred()) {
6706 _return_value = os_WIFSIGNALED_impl(module, status);
6721 "WIFEXITED($module, /, status)\n"
6724 "Return True if the process returning status exited via the exit() system call.");
6730 os_WIFEXITED_impl(PyObject *module, int status);
6736 static const char * const _keywords[] = {"status", NULL};
6739 int status;
6746 status = _PyLong_AsInt(args[0]);
6747 if (status == -1 && PyErr_Occurred()) {
6750 _return_value = os_WIFEXITED_impl(module, status);
6765 "WEXITSTATUS($module, /, status)\n"
6768 "Return the process return code from status.");
6774 os_WEXITSTATUS_impl(PyObject *module, int status);
6780 static const char * const _keywords[] = {"status", NULL};
6783 int status;
6790 status = _PyLong_AsInt(args[0]);
6791 if (status == -1 && PyErr_Occurred()) {
6794 _return_value = os_WEXITSTATUS_impl(module, status);
6809 "WTERMSIG($module, /, status)\n"
6812 "Return the signal that terminated the process that provided the status value.");
6818 os_WTERMSIG_impl(PyObject *module, int status);
6824 static const char * const _keywords[] = {"status", NULL};
6827 int status;
6834 status = _PyLong_AsInt(args[0]);
6835 if (status == -1 && PyErr_Occurred()) {
6838 _return_value = os_WTERMSIG_impl(module, status);
6853 "WSTOPSIG($module, /, status)\n"
6856 "Return the signal that stopped the process that provided the status value.");
6862 os_WSTOPSIG_impl(PyObject *module, int status);
6868 static const char * const _keywords[] = {"status", NULL};
6871 int status;
6878 status = _PyLong_AsInt(args[0]);
6879 if (status == -1 && PyErr_Occurred()) {
6882 _return_value = os_WSTOPSIG_impl(module, status);
7229 "to retrieve the application\'s exit status.\n"
8750 "waitstatus_to_exitcode($module, /, status)\n"
8753 "Convert a wait status to an exit code.\n"
8757 "* If WIFEXITED(status) is true, return WEXITSTATUS(status).\n"
8758 "* If WIFSIGNALED(status) is true, return -WTERMSIG(status).\n"
8761 "On Windows, return status shifted right by 8 bits.\n"
8764 "WUNTRACED option, the caller must first check if WIFSTOPPED(status) is true.\n"
8765 "This function must not be called if WIFSTOPPED(status) is true.");
8777 static const char * const _keywords[] = {"status", NULL};