Lines Matching refs:read
318 file_error(ms, errno, "cannot read magic file `%s'",
323 /* read and parse this file */
641 - if (read(fd, map->p, map->len) != (ssize_t)map->len) {
939 DPRINTF(("Out of bounds read %" SIZE_T_FORMAT "u > %"
1240 * `safe' read for sockets and pipes.
1252 - switch ((rv = read(fd, buf, n))) {
1543 +#define FINFO_READ_FUNC read
1618 - * Fstat is cheaper but fails for files you don't have read perms on.
1884 * detected and reported correctly when we read the file.)
2414 ssize_t nbytes = 0; /* number of bytes read from a datafile */
2500 - /* We can not read it, but we were able to stat it. */
2508 - if ((nbytes = read(fd, (char *)buf, HOWMANY)) == -1) {
2509 - file_error(ms, errno, "cannot read `%s'", inname);
2513 + file_error(ms, errno, "cannot read `%s'", inname);