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

/macosx-10.9.5/xar-202/xar/lib/
H A Darchive.h73 int heap_fd; /* fd for tmp heap archive, used in creation */ member in struct:__xar_t
H A Dio.c270 r = write(XAR(x)->heap_fd, ((char *)inbuf)+off, rsize-off);
288 lseek(XAR(x)->heap_fd, -writesize, SEEK_CUR);
332 lseek(XAR(x)->heap_fd, -writesize, SEEK_CUR);
353 lseek(XAR(x)->heap_fd, -writesize, SEEK_CUR);
394 * It is assumed the heap_fd is already positioned appropriately.
564 r = write(XAR(xdest)->heap_fd, ((char *)inbuf)+off, r-off );
807 r = read(XAR(x)->heap_fd, b, bsize);
H A Darchive.c222 XAR(ret)->heap_fd = mkstemp(tmp4);
223 if( XAR(ret)->heap_fd < 0 ) {
269 XAR(ret)->heap_fd = -1;
431 if( XAR(x)->heap_fd != -1 ) {
690 if( lseek(XAR(x)->heap_fd, (off_t)0, SEEK_SET) < 0 ) {
699 r = read(XAR(x)->heap_fd, rbuf, rsize);
767 if( XAR(x)->heap_fd >= 0 )
768 close(XAR(x)->heap_fd);

Completed in 177 milliseconds