errno 238 lib/lock.c if (lockinfo->pid == 0 || !(kill (lockinfo->pid, 0) == -1 && errno == ESRCH)) errno 78 lib/mcconfig/common.c mc_propagate_error (mcerror, 0, "%s", unix_error_string (errno)); errno 94 lib/mcconfig/common.c mc_propagate_error (mcerror, 0, "%s", unix_error_string (errno)); errno 114 lib/strutil/strutil.c errno = 0; // FIXME: is it really needed? errno 367 lib/strutil/strutil.c return (errno == EINVAL) ? ESTR_PROBLEM : ESTR_FAILURE; errno 116 lib/strutil/xstrtol.c errno = 0; errno 127 lib/strutil/xstrtol.c else if (errno != 0) errno 129 lib/strutil/xstrtol.c if (errno != ERANGE) errno 1997 lib/tty/key.c if (flag == -1 && errno == EINTR) errno 214 lib/tty/tty.c if (errno != EINTR) errno 243 lib/tty/tty.c while (n > 0 || (n == -1 && errno == EINTR)); errno 159 lib/utilunix.c if (errno != EINTR) errno 240 lib/utilunix.c while (read_len < 0 && errno == EINTR); errno 246 lib/utilunix.c ps->error = errno; errno 649 lib/utilunix.c if (res < 0 && errno != EINTR) errno 654 lib/utilunix.c unix_error_string (errno)); errno 744 lib/utilunix.c while (res < 0 && errno == EINTR); errno 748 lib/utilunix.c unix_error_string (errno)); errno 1094 lib/utilunix.c errno = ENAMETOOLONG; errno 1160 lib/utilunix.c errno = ENAMETOOLONG; errno 1169 lib/utilunix.c errno = ELOOP; errno 1178 lib/utilunix.c if (errno != EINVAL) errno 1200 lib/utilunix.c errno = ENAMETOOLONG; errno 577 lib/vfs/direntry.c me->verrno = errno; errno 602 lib/vfs/direntry.c me->verrno = errno; errno 626 lib/vfs/direntry.c VFS_FILE_HANDLER_SUPER (fh)->me->verrno = errno; errno 1381 lib/vfs/direntry.c me->verrno = errno; errno 1440 lib/vfs/direntry.c me->verrno = errno; errno 1470 lib/vfs/direntry.c me->verrno = errno; errno 1674 lib/vfs/direntry.c if (n == -1 && errno == EINTR) errno 95 lib/vfs/interface.c errno = ENOTSUP; errno 102 lib/vfs/interface.c errno = vfs_ferrno (me); errno 117 lib/vfs/interface.c if (errno != ENOENT) errno 126 lib/vfs/interface.c errno = ENOTDIR; errno 287 lib/vfs/interface.c errno = vfs_ferrno (me); errno 292 lib/vfs/interface.c errno = ENOTSUP; errno 314 lib/vfs/interface.c errno = me->name != NULL ? vfs_ferrno (me) : ENOTSUP; \ errno 352 lib/vfs/interface.c errno = me->symlink != NULL ? vfs_ferrno (me) : ENOTSUP; errno 376 lib/vfs/interface.c errno = vfs->name != NULL ? vfs_ferrno (vfs) : ENOTSUP; \ errno 400 lib/vfs/interface.c errno = EXDEV; \ errno 406 lib/vfs/interface.c errno = me1->name != NULL ? vfs_ferrno (me1) : ENOTSUP; \ errno 468 lib/vfs/interface.c errno = vfs_ferrno (vfs); errno 488 lib/vfs/interface.c errno = ENOTSUP; errno 495 lib/vfs/interface.c errno = path_element->class->opendir ? vfs_ferrno (path_element->class) : ENOTSUP; errno 527 lib/vfs/interface.c errno = EFAULT; errno 550 lib/vfs/interface.c errno = vfs->readdir ? vfs_ferrno (vfs) : ENOTSUP; errno 604 lib/vfs/interface.c errno = me->name ? vfs_ferrno (me) : ENOTSUP; \ errno 630 lib/vfs/interface.c errno = vfs_ferrno (me); errno 678 lib/vfs/interface.c errno = 0; errno 690 lib/vfs/interface.c errno = EINVAL; errno 696 lib/vfs/interface.c errno = ENOTSUP; errno 703 lib/vfs/interface.c errno = vfs_ferrno (me); errno 769 lib/vfs/interface.c errno = vfs->lseek ? vfs_ferrno (vfs) : ENOTSUP; errno 865 lib/vfs/interface.c buffer, unix_error_string (errno)); errno 796 lib/vfs/path.c errno = 0; errno 807 lib/vfs/path.c errno = EINVAL; errno 163 lib/vfs/vfs.c errno = EINVAL; errno 732 lib/vfs/vfs.c errno = ENOTSUP; errno 737 lib/vfs/vfs.c errno = EBADF; errno 744 lib/vfs/vfs.c errno = ENOTSUP; errno 749 lib/vfs/vfs.c errno = EBADF; errno 757 lib/vfs/vfs.c errno = ENOTSUP; errno 244 lib/widget/history.c if (chmod (profile, S_IRUSR | S_IWUSR) != -1 || errno == ENOENT) errno 539 src/background.c int saved_errno = errno; errno 545 src/background.c errno = saved_errno; errno 571 src/background.c while (dup2 (nullfd, STDIN_FILENO) == -1 && errno == EINTR) errno 573 src/background.c while (dup2 (nullfd, STDOUT_FILENO) == -1 && errno == EINTR) errno 575 src/background.c while (dup2 (nullfd, STDERR_FILENO) == -1 && errno == EINTR) errno 664 src/diffviewer/ydiff.c errno = 0; errno 666 src/diffviewer/ydiff.c if (errno != 0 || p == q) errno 814 src/editor/editcmd.c errno = EEXIST; errno 1228 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 1232 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 1236 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 706 src/editor/syntax.c if (errno == EINTR) errno 814 src/filemanager/achown.c int my_errno = errno; errno 819 src/filemanager/achown.c errno = my_errno; // restore errno for file_error( errno 846 src/filemanager/achown.c int my_errno = errno; errno 851 src/filemanager/achown.c errno = my_errno; // restore errno for file_error( errno 1088 src/filemanager/chattr.c int my_errno = errno; errno 1093 src/filemanager/chattr.c errno = my_errno; // restore errno for file_error( errno 398 src/filemanager/chmod.c int my_errno = errno; errno 403 src/filemanager/chmod.c errno = my_errno; // restore errno for file_error( errno 275 src/filemanager/chown.c int my_errno = errno; errno 280 src/filemanager/chown.c errno = my_errno; // restore errno for file_error() errno 191 src/filemanager/cmd.c while ((n1 = read (file1, buf1, sizeof (buf1))) == -1 && errno == EINTR) errno 193 src/filemanager/cmd.c while ((n2 = read (file2, buf2, sizeof (buf2))) == -1 && errno == EINTR) errno 456 src/filemanager/file.c errno = 0; errno 1126 src/filemanager/file.c full_format = g_strconcat (format, "\n", unix_error_string (errno), (char *) NULL); errno 1302 src/filemanager/file.c errno = EXDEV; // Hack to copy (append) the file and then delete it errno 1304 src/filemanager/file.c if (errno != EXDEV) errno 1705 src/filemanager/file.c if (errno != EXDEV) errno 2372 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 2444 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 2521 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 2603 src/filemanager/file.c if (errno != EEXIST) errno 2754 src/filemanager/file.c write_errno_nospace = (n_written < 0 && errno == ENOSPC); errno 2948 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 3039 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 109 src/filemanager/filegui.c errno = (device == B_ENTRY_NOT_FOUND ? ENOENT errno 544 src/filemanager/mountlist.c errno = 0; errno 547 src/filemanager/mountlist.c && !(dev == ULONG_MAX && errno == ERANGE) && dev == (dev_t) dev) errno 682 src/filemanager/mountlist.c int saved_errno = errno; errno 685 src/filemanager/mountlist.c errno = saved_errno; errno 962 src/filemanager/mountlist.c int saved_errno = errno; errno 965 src/filemanager/mountlist.c errno = saved_errno; errno 983 src/filemanager/mountlist.c errno = 0; errno 986 src/filemanager/mountlist.c ret = errno; errno 1006 src/filemanager/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; errno 1012 src/filemanager/mountlist.c errno = ret; errno 1044 src/filemanager/mountlist.c if (errno != EINTR) errno 1046 src/filemanager/mountlist.c int saved_errno = errno; errno 1048 src/filemanager/mountlist.c errno = saved_errno; errno 1052 src/filemanager/mountlist.c else if (errno != ENOENT) errno 1056 src/filemanager/mountlist.c errno = 0; errno 1059 src/filemanager/mountlist.c ret = errno; errno 1077 src/filemanager/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; errno 1082 src/filemanager/mountlist.c ret = errno; errno 1086 src/filemanager/mountlist.c errno = ret; errno 1110 src/filemanager/mountlist.c int saved_errno = errno; errno 1113 src/filemanager/mountlist.c errno = saved_errno; errno 1415 src/filemanager/mountlist.c int saved_errno = errno; errno 1419 src/filemanager/mountlist.c errno = saved_errno; errno 349 src/filemanager/panelize.c errno = external->out.error; errno 761 src/filemanager/tree.c errno = ENOTDIR; errno 339 src/filemanager/treestore.c return errno; errno 371 src/filemanager/treestore.c unix_error_string (errno)); errno 252 src/subshell/common.c if (errno == EINTR) errno 328 src/subshell/common.c fprintf (stderr, "Cannot set pty terminal modes: %s\r\n", unix_error_string (errno)); errno 636 src/subshell/common.c if (errno == EINTR) errno 667 src/subshell/common.c if (errno == EINTR) errno 930 src/subshell/common.c if (errno == EINTR) errno 939 src/subshell/common.c unix_error_string (errno)); errno 956 src/subshell/common.c if (errno == EAGAIN || errno == EWOULDBLOCK) errno 959 src/subshell/common.c if (errno == EIO && !subshell_alive) errno 971 src/subshell/common.c fprintf (stderr, "read (subshell_pty...): %s\r\n", unix_error_string (errno)); errno 1005 src/subshell/common.c unix_error_string (errno)); errno 1032 src/subshell/common.c unix_error_string (errno)); errno 1136 src/subshell/common.c fprintf (stderr, "open (%s, O_RDWR): %s\r\n", pty_name, unix_error_string (errno)); errno 1144 src/subshell/common.c unix_error_string (errno)); errno 1152 src/subshell/common.c unix_error_string (errno)); errno 1160 src/subshell/common.c unix_error_string (errno)); errno 1195 src/subshell/common.c if (errno == ENOENT) // Different from EIO errno 1546 src/subshell/common.c fprintf (stderr, "read (subshell_pipe[READ]...): %s\r\n", unix_error_string (errno)); errno 1727 src/subshell/common.c fprintf (stderr, "mkfifo(%s) failed: %s\r\n", tcsh_fifo, unix_error_string (errno)); errno 1774 src/subshell/common.c unix_error_string (errno)); errno 1782 src/subshell/common.c fprintf (stderr, "Cannot open master side of pty: %s\r\n", unix_error_string (errno)); errno 1791 src/subshell/common.c unix_error_string (errno)); errno 1806 src/subshell/common.c fprintf (stderr, "Cannot spawn the subshell process: %s\r\n", unix_error_string (errno)); errno 1965 src/subshell/common.c if (errno == EINTR) errno 1973 src/subshell/common.c fprintf (stderr, "select (FD_SETSIZE, &tmp...): %s\r\n", unix_error_string (errno)); errno 2015 src/subshell/common.c if (errno == EINTR) errno 2023 src/subshell/common.c fprintf (stderr, "select (FD_SETSIZE, &tmp...): %s\r\n", unix_error_string (errno)); errno 2076 src/subshell/common.c unix_error_string (errno)); errno 2115 src/subshell/common.c fprintf (stderr, "Cannot get terminal settings: %s\r\n", unix_error_string (errno)); errno 87 src/util.c const char *error_string = unix_error_string (errno); errno 859 src/vfs/cpio/cpio.c ERRNOR (errno, -1); errno 540 src/vfs/extfs/extfs.c mc_propagate_error (error, 0, "%s", unix_error_string (errno)); errno 513 src/vfs/ftpfs/ftpfs.c if (errno == EPIPE) errno 919 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: %s"), unix_error_string (errno)); errno 922 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 932 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 939 src/vfs/ftpfs/ftpfs.c unix_error_string (errno)); errno 1244 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1312 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1333 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1365 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1422 src/vfs/ftpfs/ftpfs.c ERRNOR (errno, -1); errno 1502 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1531 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: abort error: %s"), unix_error_string (errno)); errno 1942 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1969 src/vfs/ftpfs/ftpfs.c if (errno != EINTR) errno 1971 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1990 src/vfs/ftpfs/ftpfs.c if (errno == EINTR && !tty_got_interrupt ()) errno 1993 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 2056 src/vfs/ftpfs/ftpfs.c if ((errno == EINTR) && !tty_got_interrupt ()) errno 2073 src/vfs/ftpfs/ftpfs.c ERRNOR (errno, n); errno 2105 src/vfs/ftpfs/ftpfs.c return (((v < 0) && (errno == EINTR)) || v == 0) ? 1 : 0; errno 109 src/vfs/local/local.c if (readdir (dir) == NULL && errno == EINTR) errno 290 src/vfs/local/local.c if (errno == EAGAIN) errno 294 src/vfs/local/local.c if (errno == EINTR) errno 420 src/vfs/local/local.c if (errno == EAGAIN) errno 424 src/vfs/local/local.c if (errno == EINTR) errno 454 src/vfs/local/local.c return errno; errno 280 src/vfs/sftpfs/config_parser.c e = errno; errno 218 src/vfs/sftpfs/connection.c vfs_print_message (_ ("sftp: %s"), unix_error_string (errno)); errno 228 src/vfs/sftpfs/connection.c save_errno = errno; errno 280 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts_file, unix_error_string (errno)); errno 106 src/vfs/sftpfs/internal.c int my_errno = errno; errno 640 src/vfs/sftpfs/sftpfs.c return errno; errno 1035 src/vfs/shell/shell.c if ((errno == EINTR) && tty_got_interrupt ()) errno 1049 src/vfs/shell/shell.c me->verrno = errno; errno 1104 src/vfs/shell/shell.c errno = 0; errno 1110 src/vfs/shell/shell.c if (errno != 0) errno 1159 src/vfs/shell/shell.c if ((errno == EINTR) && !tty_got_interrupt ()) errno 1171 src/vfs/shell/shell.c ERRNOR (errno, n); errno 1211 src/vfs/shell/shell.c return (((v < 0) && (errno == EINTR)) || v == 0) ? 1 : 0; errno 1240 src/vfs/tar/tar.c ERRNOR (errno, -1); errno 207 src/viewer/growbuf.c errno = sp->out.error; errno 229 src/viewer/growbuf.c while (nread == -1 && errno == EINTR); errno 411 src/viewer/hex.c unix_error_string (errno)); errno 418 src/viewer/hex.c text = g_strdup_printf (_ ("Cannot save file:\n%s"), unix_error_string (errno));