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

/illumos-gate/usr/src/boot/lib/libstand/
H A Dbzipfs.c153 int rawfd; local
175 rawfd = open(bzfname, O_RDONLY);
177 if (rawfd == -1)
180 if (fstat(rawfd, &sb) < 0) {
182 close(rawfd);
187 close(rawfd);
196 bzf->bzf_rawfd = rawfd;
H A Dgzipfs.c162 int rawfd; local
178 rawfd = open(fname, O_RDONLY | F_GZIP);
179 if (rawfd == -1) {
185 rawfd = open(zfname, O_RDONLY);
187 if (rawfd == -1)
191 if (fstat(rawfd, &sb) < 0) {
193 close(rawfd);
197 close(rawfd);
206 zf->zf_rawfd = rawfd;

Completed in 80 milliseconds