Lines Matching refs:errno
101 - (void)fprintf(stderr, "%s: %s\n", progname, strerror(errno));
408 if (errno != ENOENT)
409 file_error(ms, errno, "cannot read magic file `%s'",
728 file_error(ms, errno, "cannot stat `%s'", dbname);
745 - file_error(ms, errno, "cannot map `%s'", dbname);
794 - file_error(ms, errno, "cannot mprotect `%s'", dbname);
902 file_error(ms, errno, "cannot open `%s'", dbname);
911 file_error(ms, errno, "error writing `%s'", dbname);
920 file_error(ms, errno, "error writing `%s'", dbname);
1215 errno = EFTYPE;
1246 errno = EFTYPE;
1251 errno = EFTYPE;
1384 errno = EINVAL;
1402 #include <errno.h>
1506 if (errno == EINTR)
1515 te = errno;
1538 return makeerror(newch, n, "No buffer, %s", strerror(errno));
1678 #include <errno.h>
2144 - file_error(ms, errno, "unreadable symlink `%s'",
2146 + file_error(ms, errno, "unreadable symlink `%s'", fn);
2155 - strerror(errno)) == -1)
2169 - return bad_link(ms, errno, buf);
2173 - return bad_link(ms, errno, buf);
2206 - return bad_link(ms, errno, buf);
2276 - fprintf(stderr, "vasprintf failed (%s)", strerror(errno));
2353 file_error(ms, errno, "error reading");
2930 - errno = 0;
2942 - if (!okstat && errno == EACCES) {
2949 + errno = 0;
2973 + file_error(ms, errno, "cannot stat `%s'", inname);
3011 - file_error(ms, errno, "cannot read fd %d", fd);
3013 - file_error(ms, errno, "cannot read `%s'",
3018 + file_error(ms, errno, "cannot read `%s'", inname);
3535 - file_error(ms, errno,