Lines Matching refs:errno

77 # include <errno.h>
1637 "(%s)", strerror(errno)));
1652 if (errno == ENOMEM) {
1656 "(%s)", strerror(errno)));
1808 fatal(err_msg("os::javaTimeMillis: gettimeofday (%s)", strerror(errno)));
2218 errno = ENAMETOOLONG;
2577 if (errno == 0) return 0;
2579 const char *s = ::strerror(errno);
2650 } else if (errno == EINTR) {
2652 } else if (errno == ETIME) {
2813 // list of errno values comes from the Solaris mmap(2) man page.
2834 ", %d) failed; error='%s' (errno=%d)", addr, bytes, exec,
2842 ", " SIZE_FORMAT ", %d) failed; error='%s' (errno=%d)", addr, bytes,
2857 int err = errno; // save errno from mmap() call in mmap_chunk()
3205 volatile int err = errno;
3531 jio_snprintf(msg, sizeof(msg), "Failed to reserve shared memory (errno = %d).", errno);
3539 int err = errno;
3549 jio_snprintf(msg, sizeof(msg), "Failed to attach shared memory (errno = %d).", err);
3629 if( ( res == 0 ) || ((res == OS_ERR) && (errno == EINTR))) {
3889 // Return errno or 0 if OK.
3934 if (rslt < 0) return errno;
3943 if (rslt < 0) return errno;
3952 if (rslt < 0) return errno;
3961 if (rslt < 0) return errno;
3972 if (rslt < 0) return errno;
3980 if (rslt < 0) return errno;
3989 if (rslt < 0) return errno;
4093 if (rslt < 0) return errno;
4162 tty->print_cr ("PC_SETPARMS ->%d %d\n", rslt, errno);
4164 if (rslt < 0) return errno;
4329 // Save and restore errno to avoid confusing native code with EINTR
4331 int old_errno = errno;
4376 errno = old_errno;
5299 strerror(errno)));
5310 fatal(err_msg("os::init: cannot open /dev/zero (%s)", strerror(errno)));
5507 // these functions registered and atexit() does not set errno. In Solaris
5509 // and atexit() sets errno. In addition, in Solaris 8 and later, atexit
5608 errno = ENAMETOOLONG;
5626 errno = EISDIR;
6045 } while (count < 0 && errno == EINTR);
6627 warning("fork failed: %s", strerror(errno));
6648 switch (errno) {
6757 if(res == OS_ERR && errno == EINTR) {
6776 // one of two values when errno == EINTR
6779 && (errno == EINTR)) {
6780 /* restarting a connect() changes its errno semantics */
6785 if (errno == EALREADY) {
6786 errno = EINPROGRESS; /* fall through */
6787 } else if (errno == EISCONN) {
6788 errno = 0;