Searched defs:bread (Results 1 - 1 of 1) sorted by relevance

/ast/src/cmd/pax/
H A Dbio.c404 * sum and convert a bread()/bget() chunk
436 bread(register Archive_t* ap, void* ob, off_t n, off_t m, int must) function
447 message((-7, "bread(%s,%I*d,%I*d) %s", ap->name, sizeof(n), n, sizeof(m), m, bstatus(ap->io)));
522 message((-7, "bread(%s,%I*d@%I*d) %s: %s", ap->name, sizeof(r), r, sizeof(ap->io->count), ap->io->count, bstatus(ap->io), show(b, r)));
524 message((-7, "bread(%s) skip(%I*d@%I*d) %s", ap->name, sizeof(r), r, sizeof(ap->io->count), ap->io->count, bstatus(ap->io)));
530 * pushback for next bread()
552 * O_RDONLY bread() n chars and return a pointer to the char buffer
770 if ((u = lseek(ap->io->fd, ap->io->offset + pos, op)) < 0 && (op != SEEK_SET || (u = pos - ap->io->count) < 0 || u > 0 && bread(ap, NiL, u, u, 1) != u || !(u += ap->io->count + ap->io->offset)))

Completed in 33 milliseconds