Searched refs:CPIO_HEADER (Results 1 - 1 of 1) sorted by relevance

/ast/src/cmd/pax/
H A Dpax-cpio.c35 #define CPIO_HEADER 76 macro
244 if (size >= CPIO_HEADER && buf[0] == '0' && sfsscanf((char*)buf, "%6o", &magic) == 1 && magic == CPIO_MAGIC)
357 if (paxread(pax, ap, state.tmp.buffer, (off_t)0, (off_t)CPIO_HEADER, 0) <= 0)
359 state.tmp.buffer[CPIO_HEADER] = 0;
382 return cpio_common(pax, ap, f, CPIO_ALIGN, CPIO_HEADER);
384 paxunread(pax, ap, state.tmp.buffer, CPIO_HEADER);
411 complete(ap, f, CPIO_HEADER + f->namesize);
452 paxwrite(pax, ap, state.tmp.buffer, CPIO_HEADER);
742 return cpio_common(pax, ap, f, CPIO_ALIGN, CPIO_HEADER);
744 paxunread(pax, ap, state.tmp.buffer, CPIO_HEADER);
[all...]

Completed in 11 milliseconds