Home | History | Annotate | Download | only in mkboot

Lines Matching defs:statb

232 	struct stat statb;
237 fstat(fd, &statb);
239 ld.count = htobe32(statb.st_size);
240 if ((bp = malloc(statb.st_size)) == NULL)
242 if (read(fd, bp, statb.st_size) < 0)
246 write(to, bp, statb.st_size);
249 return statb.st_size + sizeof(ld);
288 struct stat statb;
294 stat(name, &statb);
295 tm = localtime(&statb.st_ctime);