Home
last modified time | relevance | path

Searched refs:WTERMSIG (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/native/
DUNIXProcess_md.c323 #ifndef WTERMSIG
324 #define WTERMSIG(status) ((status)&0x7F) macro
361 return WTERMSIG(status); in UNIXProcess_waitForProcessExit()
363 return 0x80 + WTERMSIG(status); in UNIXProcess_waitForProcessExit()
/libcore/luni/src/main/java/android/system/
DOsConstants.java107 public static int WTERMSIG(int status) { return status & 0x7f; } in WTERMSIG() method in OsConstants
117 public static boolean WIFEXITED(int status) { return (WTERMSIG(status) == 0); } in WIFEXITED()
122 public static boolean WIFSTOPPED(int status) { return (WTERMSIG(status) == 0x7f); } in WIFSTOPPED()
127 public static boolean WIFSIGNALED(int status) { return (WTERMSIG(status + 1) >= 2); } in WIFSIGNALED()
/libcore/luni/src/test/java/libcore/android/system/
DOsConstantsTest.java37 import static android.system.OsConstants.WTERMSIG;
411 assertEquals(0, WTERMSIG(0)); in test_WTERMSIG()
412 assertEquals(0x7f, WTERMSIG(0x7f)); in test_WTERMSIG()
/libcore/api/
Dcurrent.txt139 method public static int WTERMSIG(int);