Lines Matching defs:errnum
479 throwIOException(JNIEnv *env, int errnum, const char *defaultDetail)
486 if (errnum != 0) {
487 const char *s = strerror(errnum);
492 errmsg = NEW(char, strlen(format) + strlen(detail) + 3 * sizeof(errnum));
493 sprintf(errmsg, format, errnum, detail);
770 int errnum = errno;
771 restartableWrite(FAIL_FILENO, &errnum, sizeof(errnum));
837 int errnum;
910 switch (readFully(fail[0], &errnum, sizeof(errnum))) {
912 case sizeof(errnum):
914 throwIOException(env, errnum, "Exec failed");