Lines Matching refs:status
76 * Extracts the exit status of a child. Only valid if WIFEXITED returns true.
78 public static int WEXITSTATUS(int status) { return (status & 0xff00) >> 8; }
83 public static boolean WCOREDUMP(int status) { return (status & 0x80) != 0; }
88 public static int WTERMSIG(int status) { return status & 0x7f; }
93 public static int WSTOPSIG(int status) { return WEXITSTATUS(status); }
98 public static boolean WIFEXITED(int status) { return (WTERMSIG(status) == 0); }
103 public static boolean WIFSTOPPED(int status) { return (WTERMSIG(status) == 0x7f); }
108 public static boolean WIFSIGNALED(int status) { return (WTERMSIG(status + 1) >= 2); }