Home | History | Annotate | Download | only in native

Lines Matching defs:errnum

483 throwIOException(JNIEnv *env, int errnum, const char *defaultDetail)
490 if (errnum != 0) {
491 const char *s = strerror(errnum);
496 size_t newsize = strlen(format) + strlen(detail) + 3 * sizeof(errnum);
498 snprintf(errmsg, newsize, format, errnum, detail);
775 int errnum = errno;
776 restartableWrite(FAIL_FILENO, &errnum, sizeof(errnum));
842 int errnum;
915 switch (readFully(fail[0], &errnum, sizeof(errnum))) {
917 case sizeof(errnum):
919 throwIOException(env, errnum, "Exec failed");